1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00
This commit is contained in:
J.Fernando Sánchez
2013-06-17 10:33:28 +02:00
parent 6cde71312b
commit 5934f9164b
10 changed files with 465 additions and 4 deletions

5
vimrc
View File

@@ -13,6 +13,7 @@ Bundle "LaTeX-Box-Team/LaTeX-Box"
Bundle "tpope/vim-repeat"
Bundle "tpope/vim-unimpaired"
Bundle "tpope/vim-fugitive"
Bundle "tpope/vim-surround.git"
Bundle "scrooloose/nerdtree"
Bundle "scrooloose/nerdcommenter"
Bundle "scrooloose/syntastic"
@@ -75,7 +76,7 @@ noremap \ ,
" noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
" noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
"
imap <C-v> <C-O>"+gP
imap <C-v> <C-O>"+gp
noremap <C-S> :w<CR>
imap <C-S> <C-O>:w<CR>
@@ -115,6 +116,8 @@ nmap Sq <ESC>:mksession! ~/.vim/Session.vim<CR>:qa!<CR>
nmap SQ <ESC>:mksession! ~/.vim/Session.vim<CR>:wqa<CR>
nmap SO :so ~/.vim/Session.vim<CR>
set sessionoptions+=resize,winpos
"autocmd VimEnter * call RestoreSession()
"Make tabs and buffers work better