aboutsummaryrefslogtreecommitdiff
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
parent1159bddcc84cd5342614db5f2a8bac154ec8c463 (diff)
downloadvim-e1302a6e949998fb97193237335eb3793b13501f.tar.gz
vim-e1302a6e949998fb97193237335eb3793b13501f.tar.bz2
General update
-rw-r--r--.gitmodules6
-rw-r--r--TODO.md12
-rw-r--r--gvimrc.dot.link10
m---------vim.dot.link/bundle/colorschemes0
m---------vim.dot.link/bundle/nerdtree0
m---------vim.dot.link/bundle/syntastic0
m---------vim.dot.link/bundle/tlib_vim0
m---------vim.dot.link/bundle/vim-airline0
m---------vim.dot.link/bundle/vim-colorscheme-switcher0
m---------vim.dot.link/bundle/vim-fugitive0
m---------vim.dot.link/bundle/vim-github-colorscheme0
m---------vim.dot.link/bundle/vim-misc0
m---------vim.dot.link/bundle/vim-session0
m---------vim.dot.link/bundle/vim-snipmate0
m---------vim.dot.link/bundle/vim-snippets0
m---------vim.dot.link/bundle/vim-twig0
-rw-r--r--vimrc.dot.link20
17 files changed, 28 insertions, 20 deletions
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
-Subproject f134dd5726732a74e05edacc9a795006b984b82
+Subproject 28a989b28457e38df620e4c7ab23e224aff70ef
diff --git a/vim.dot.link/bundle/nerdtree b/vim.dot.link/bundle/nerdtree
-Subproject b0bb781fc73ef40365e4c996a16f04368d64fc9
+Subproject 2f8a72144fe1e96804f000b6cf9bf9c4057e5dd
diff --git a/vim.dot.link/bundle/syntastic b/vim.dot.link/bundle/syntastic
-Subproject edcb2f2baf1ad677cc5b5b2c9e939b915451096
+Subproject dc516ef19de71409aadd7d104c5f92312940c11
diff --git a/vim.dot.link/bundle/tlib_vim b/vim.dot.link/bundle/tlib_vim
-Subproject 95f6fe6e4ba1a7d15015d3dbe26074f1150e2d5
+Subproject 11efae2f16c9375bbc0cb35b6234888996969ce
diff --git a/vim.dot.link/bundle/vim-airline b/vim.dot.link/bundle/vim-airline
new file mode 160000
+Subproject 14d14cf951c08fc88ca6c3e6f28fe47b99421e2
diff --git a/vim.dot.link/bundle/vim-colorscheme-switcher b/vim.dot.link/bundle/vim-colorscheme-switcher
-Subproject 487260a5f34bf2ba7972f67fd9b570cefa0bbc1
+Subproject 4d9807a5a8948c18b5f3f278685269565c8e250
diff --git a/vim.dot.link/bundle/vim-fugitive b/vim.dot.link/bundle/vim-fugitive
-Subproject 0374322ba5d85ae44dd9dc44ef31ca015a59097
+Subproject 1ecd12d523ffe031b5840316eeae1f24dd8920e
diff --git a/vim.dot.link/bundle/vim-github-colorscheme b/vim.dot.link/bundle/vim-github-colorscheme
-Subproject ff9876aeb2fd345978753f2654d2da429e14c8f
+Subproject 37b0ca027f638f3349ed8fb99c54ab65b8e65c0
diff --git a/vim.dot.link/bundle/vim-misc b/vim.dot.link/bundle/vim-misc
-Subproject 8551f2b9dec7fd17dd5c3476d7869957185d692
+Subproject 3e6b8fb6f03f13434543ce1f5d24f6a5d3f34f0
diff --git a/vim.dot.link/bundle/vim-session b/vim.dot.link/bundle/vim-session
new file mode 160000
+Subproject 9e9a6088f0554f6940c19889d0b2a8f39d13f2b
diff --git a/vim.dot.link/bundle/vim-snipmate b/vim.dot.link/bundle/vim-snipmate
-Subproject d7918d00ced3a70acf6b80855a58381b80c14aa
+Subproject 7f91de39088138491e40a35a855adb70677b02d
diff --git a/vim.dot.link/bundle/vim-snippets b/vim.dot.link/bundle/vim-snippets
-Subproject 9cf136348b9949436f56ca72216ea86adab4a06
+Subproject a6d9f6a098d7d942a76d033bbb01ec5b1691346
diff --git a/vim.dot.link/bundle/vim-twig b/vim.dot.link/bundle/vim-twig
-Subproject 69acd8d4386727affa345d39ea42d149771c264
+Subproject 4e8e678f0f46bd75db4530fbe1ec05dd941764d
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'