From: Silvio Rhatto Date: Sun, 29 Nov 2015 20:37:13 +0000 (-0200) Subject: General update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e1302a6e949998fb97193237335eb3793b13501f;p=rhatto%2Fdotfiles%2Fvim.git General update --- diff --git a/.gitmodules b/.gitmodules index 428ebee..f94074a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,9 @@ [submodule "vim.dot.link/bundle/vim-autoread"] path = vim.dot.link/bundle/vim-autoread url = https://github.com/djoshea/vim-autoread +[submodule "vim.dot.link/bundle/vim-airline"] + path = vim.dot.link/bundle/vim-airline + url = https://github.com/bling/vim-airline +[submodule "vim.dot.link/bundle/vim-session"] + path = vim.dot.link/bundle/vim-session + url = https://github.com/xolox/vim-session diff --git a/TODO.md b/TODO.md index 227261f..35e0fbf 100644 --- a/TODO.md +++ b/TODO.md @@ -1,24 +1,14 @@ TODO ==== -* Move back to airline. * Fix autoread. * Snippets for common tasks. * OpenURL irssi plugin formatter. * Pentadactyl/Vimperator multiple URL handler. -* Add: - * https://github.com/xolox/vim-session - * https://github.com/vim-scripts/vim-auto-save +* Consider https://github.com/vim-scripts/vim-auto-save * Consider [org-mode](https://en.wikipedia.org/wiki/Org-mode) implementations: * https://github.com/jceb/vim-orgmode * https://github.com/hsitz/VimOrganizer * https://github.com/vimwiki/vimwiki * https://github.com/blindFS/vim-taskwarrior * https://github.com/dhruvasagar/vim-dotoo -* Sessions: - * http://usevim.com/2013/07/05/sessions/ - * https://github.com/xolox/vim-session - * https://github.com/tpope/vim-obsession - * http://stackoverflow.com/questions/1642611/how-to-save-a-session-in-vim - * https://bocoup.com/weblog/sessions-the-vim-feature-you-probably-arent-using/ - * http://vimdoc.sourceforge.net/htmldoc/usr_21.html#21.4 diff --git a/gvimrc.dot.link b/gvimrc.dot.link index 92f9de5..c8044b2 100644 --- a/gvimrc.dot.link +++ b/gvimrc.dot.link @@ -29,8 +29,8 @@ set t_Co=256 colorscheme xoria256 " Powerline -set showtabline=1 " Do not display the tabline if there's just one tab -let g:Powerline_symbols='fancy' -python from powerline.vim import setup as powerline_setup -python powerline_setup() -python del powerline_setup +"set showtabline=1 " Do not display the tabline if there's just one tab +"let g:Powerline_symbols='fancy' +"python from powerline.vim import setup as powerline_setup +"python powerline_setup() +"python del powerline_setup diff --git a/vim.dot.link/bundle/colorschemes b/vim.dot.link/bundle/colorschemes index f134dd5..28a989b 160000 --- a/vim.dot.link/bundle/colorschemes +++ b/vim.dot.link/bundle/colorschemes @@ -1 +1 @@ -Subproject commit f134dd5726732a74e05edacc9a795006b984b82f +Subproject commit 28a989b28457e38df620e4c7ab23e224aff70efe diff --git a/vim.dot.link/bundle/nerdtree b/vim.dot.link/bundle/nerdtree index b0bb781..2f8a721 160000 --- a/vim.dot.link/bundle/nerdtree +++ b/vim.dot.link/bundle/nerdtree @@ -1 +1 @@ -Subproject commit b0bb781fc73ef40365e4c996a16f04368d64fc9d +Subproject commit 2f8a72144fe1e96804f000b6cf9bf9c4057e5ddd diff --git a/vim.dot.link/bundle/syntastic b/vim.dot.link/bundle/syntastic index edcb2f2..dc516ef 160000 --- a/vim.dot.link/bundle/syntastic +++ b/vim.dot.link/bundle/syntastic @@ -1 +1 @@ -Subproject commit edcb2f2baf1ad677cc5b5b2c9e939b915451096d +Subproject commit dc516ef19de71409aadd7d104c5f92312940c11b diff --git a/vim.dot.link/bundle/tlib_vim b/vim.dot.link/bundle/tlib_vim index 95f6fe6..11efae2 160000 --- a/vim.dot.link/bundle/tlib_vim +++ b/vim.dot.link/bundle/tlib_vim @@ -1 +1 @@ -Subproject commit 95f6fe6e4ba1a7d15015d3dbe26074f1150e2d5e +Subproject commit 11efae2f16c9375bbc0cb35b6234888996969cef diff --git a/vim.dot.link/bundle/vim-airline b/vim.dot.link/bundle/vim-airline new file mode 160000 index 0000000..14d14cf --- /dev/null +++ b/vim.dot.link/bundle/vim-airline @@ -0,0 +1 @@ +Subproject commit 14d14cf951c08fc88ca6c3e6f28fe47b99421e23 diff --git a/vim.dot.link/bundle/vim-colorscheme-switcher b/vim.dot.link/bundle/vim-colorscheme-switcher index 487260a..4d9807a 160000 --- a/vim.dot.link/bundle/vim-colorscheme-switcher +++ b/vim.dot.link/bundle/vim-colorscheme-switcher @@ -1 +1 @@ -Subproject commit 487260a5f34bf2ba7972f67fd9b570cefa0bbc1a +Subproject commit 4d9807a5a8948c18b5f3f278685269565c8e2508 diff --git a/vim.dot.link/bundle/vim-fugitive b/vim.dot.link/bundle/vim-fugitive index 0374322..1ecd12d 160000 --- a/vim.dot.link/bundle/vim-fugitive +++ b/vim.dot.link/bundle/vim-fugitive @@ -1 +1 @@ -Subproject commit 0374322ba5d85ae44dd9dc44ef31ca015a59097e +Subproject commit 1ecd12d523ffe031b5840316eeae1f24dd8920e4 diff --git a/vim.dot.link/bundle/vim-github-colorscheme b/vim.dot.link/bundle/vim-github-colorscheme index ff9876a..37b0ca0 160000 --- a/vim.dot.link/bundle/vim-github-colorscheme +++ b/vim.dot.link/bundle/vim-github-colorscheme @@ -1 +1 @@ -Subproject commit ff9876aeb2fd345978753f2654d2da429e14c8f9 +Subproject commit 37b0ca027f638f3349ed8fb99c54ab65b8e65c04 diff --git a/vim.dot.link/bundle/vim-misc b/vim.dot.link/bundle/vim-misc index 8551f2b..3e6b8fb 160000 --- a/vim.dot.link/bundle/vim-misc +++ b/vim.dot.link/bundle/vim-misc @@ -1 +1 @@ -Subproject commit 8551f2b9dec7fd17dd5c3476d7869957185d692d +Subproject commit 3e6b8fb6f03f13434543ce1f5d24f6a5d3f34f0b diff --git a/vim.dot.link/bundle/vim-session b/vim.dot.link/bundle/vim-session new file mode 160000 index 0000000..9e9a608 --- /dev/null +++ b/vim.dot.link/bundle/vim-session @@ -0,0 +1 @@ +Subproject commit 9e9a6088f0554f6940c19889d0b2a8f39d13f2bb diff --git a/vim.dot.link/bundle/vim-snipmate b/vim.dot.link/bundle/vim-snipmate index d7918d0..7f91de3 160000 --- a/vim.dot.link/bundle/vim-snipmate +++ b/vim.dot.link/bundle/vim-snipmate @@ -1 +1 @@ -Subproject commit d7918d00ced3a70acf6b80855a58381b80c14aaa +Subproject commit 7f91de39088138491e40a35a855adb70677b02d3 diff --git a/vim.dot.link/bundle/vim-snippets b/vim.dot.link/bundle/vim-snippets index 9cf1363..a6d9f6a 160000 --- a/vim.dot.link/bundle/vim-snippets +++ b/vim.dot.link/bundle/vim-snippets @@ -1 +1 @@ -Subproject commit 9cf136348b9949436f56ca72216ea86adab4a06e +Subproject commit a6d9f6a098d7d942a76d033bbb01ec5b16913463 diff --git a/vim.dot.link/bundle/vim-twig b/vim.dot.link/bundle/vim-twig index 69acd8d..4e8e678 160000 --- a/vim.dot.link/bundle/vim-twig +++ b/vim.dot.link/bundle/vim-twig @@ -1 +1 @@ -Subproject commit 69acd8d4386727affa345d39ea42d149771c2647 +Subproject commit 4e8e678f0f46bd75db4530fbe1ec05dd941764da diff --git a/vimrc.dot.link b/vimrc.dot.link index 64229f0..d1f4666 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -1,3 +1,4 @@ +" VIM configuration syn on set nu @@ -169,12 +170,12 @@ noremap ,dd zi:.;/^-- $/dO-- zi colorscheme xoria256 " Airline -"let g:airline_powerline_fonts=1 +let g:airline_powerline_fonts=1 " Powerline -python from powerline.vim import setup as powerline_setup -python powerline_setup() -python del powerline_setup +"python from powerline.vim import setup as powerline_setup +"python powerline_setup() +"python del powerline_setup set laststatus=2 " Always display the statusline in all windows set showtabline=2 " Always display the tabline, even if there is only one tab @@ -208,3 +209,14 @@ map Oc :bnext " http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work "au FocusGained,BufEnter * :silent! ! "au FocusLost,WinLeave * :silent! w + +" Session management, see: +" http://usevim.com/2013/07/05/sessions/ +" https://github.com/xolox/vim-session +" https://github.com/tpope/vim-obsession +" http://stackoverflow.com/questions/1642611/how-to-save-a-session-in-vim +" https://bocoup.com/weblog/sessions-the-vim-feature-you-probably-arent-using/ +" http://vimdoc.sourceforge.net/htmldoc/usr_21.html#21.4 +let g:session_autosave_silent=1 +let g:session_autosave_periodic=1 +let g:session_autosave='yes'