mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-19 16:27:45 +02:00
Compare commits
No commits in common. "0be7f199ae602f79c31485c1f0bbef9f5971f1f2" and "7e576a888e0a834093a853eb3f9db670608d9947" have entirely different histories.
0be7f199ae
...
7e576a888e
@ -127,7 +127,6 @@ alias svim="sudo nvim"
|
||||
alias svi="sudo nvim"
|
||||
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
|
||||
command -v nvim >/dev/null && alias vi="nvim" vidiff="nvim -d"
|
||||
alias renamer="nvim +Renamer"
|
||||
|
||||
# weather
|
||||
alias weather="curl wttr.in"
|
||||
|
@ -197,4 +197,3 @@ h seek -5
|
||||
j seek -60
|
||||
k seek 60
|
||||
S cycle sub
|
||||
MBTN_LEFT no-osd cycle pause
|
||||
|
@ -18,7 +18,9 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
|
||||
return
|
||||
end
|
||||
local session_info = Session.info(vim.loop.cwd())
|
||||
if session_info ~= nil then
|
||||
if session_info == nil then
|
||||
Session.restore_latest()
|
||||
else
|
||||
Session.restore(vim.loop.cwd())
|
||||
end
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user