aboutsummaryrefslogtreecommitdiff
path: root/vimrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-29 18:37:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-29 18:37:13 -0200
commite1302a6e949998fb97193237335eb3793b13501f (patch)
tree43816053ba565009d3beb31342df85e706f51949 /vimrc.dot.link
parent1159bddcc84cd5342614db5f2a8bac154ec8c463 (diff)
downloadvim-e1302a6e949998fb97193237335eb3793b13501f.tar.gz
vim-e1302a6e949998fb97193237335eb3793b13501f.tar.bz2
General update
Diffstat (limited to 'vimrc.dot.link')
-rw-r--r--vimrc.dot.link20
1 files changed, 16 insertions, 4 deletions
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:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>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<CR>
" 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'