vim edit last
parent
891b098458
commit
8ee105d770
9
.vimrc
9
.vimrc
|
|
@ -28,3 +28,12 @@ set undodir=~/.cache/vim/undodir " undo persistant
|
||||||
set undofile
|
set undofile
|
||||||
set undolevels=1000
|
set undolevels=1000
|
||||||
set undoreload=10000
|
set undoreload=10000
|
||||||
|
|
||||||
|
" Go to last file(s) if invoked without arguments.
|
||||||
|
autocmd VimLeave * nested if (!isdirectory($HOME . "/.vim")) |
|
||||||
|
\ call mkdir($HOME . "/.vim") |
|
||||||
|
\ endif |
|
||||||
|
\ execute "mksession! " . $HOME . "/.vim/Session.vim"
|
||||||
|
|
||||||
|
autocmd VimEnter * nested if argc() == 0 && filereadable($HOME . "/.vim/Session.vim") |
|
||||||
|
\ execute "source " . $HOME . "/.vim/Session.vim"
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,4 @@ git config --global user.name "Gil Portenseigne"
|
||||||
echo "Maintenant à installer : Idea,
|
echo "Maintenant à installer : Idea,
|
||||||
Nexcloud sync, parsec"
|
Nexcloud sync, parsec"
|
||||||
echo "https://github.com/nordtheme/gnome-terminal"
|
echo "https://github.com/nordtheme/gnome-terminal"
|
||||||
|
echo "https://fostips.com/install-latest-firefox-non-esr-debian/"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue