summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-28 15:15:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-28 15:15:25 +0100
commit4bb73ea2141a405c6c22ed273f92247df3e18b9f (patch)
tree64314034dfab7a36a1cb51be09b4e8256a624b33 /vim/.vimrc
parentfa063a716fbdbb2a781a5bef4506aa87bc751e01 (diff)
Remove ledger
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc22
1 files changed, 9 insertions, 13 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 1d46270..c403eb4 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -29,14 +29,13 @@ if has("nvim")
nnoremap <a-g> :GitFiles<cr>
nnoremap <a-c> :Colors<cr>
nnoremap <a-h> :History:<cr>
-else
- nnoremap <c-p>b :Buffers<cr>
- nnoremap <c-p>f :Files<cr>
- nnoremap <c-p>r :History<cr>
- nnoremap <c-p>g :GitFiles<cr>
- nnoremap <c-p>c :Colors<cr>
- nnoremap <c-p>h :History:<cr>
endif
+nnoremap <c-p>b :Buffers<cr>
+nnoremap <c-p>f :Files<cr>
+nnoremap <c-p>r :History<cr>
+nnoremap <c-p>g :GitFiles<cr>
+nnoremap <c-p>c :Colors<cr>
+nnoremap <c-p>h :History:<cr>
imap <c-x><c-l> <plug>(fzf-complete-line)
imap <c-x><c-f> <plug>(fzf-complete-file)
@@ -55,7 +54,6 @@ Plug 'justinmk/vim-sneak'
Plug 'klen/python-mode'
let g:pymode_rope=0
-Plug 'ledger/vim-ledger'
Plug 'lervag/vimtex'
let g:vimtex_fold_enabled=0
let g:vimtex_view_method='zathura'
@@ -107,8 +105,8 @@ endfunction
augroup myflags
autocmd!
- autocmd BufEnter,BufWritePost * let b:trailing=search('\s\+$','n')
- autocmd BufEnter,BufWritePost * let b:mixed=Mixed_indent()
+ autocmd BufEnter,BufRead,BufWritePost * let b:trailing=search('\s\+$','n')
+ autocmd BufEnter,BufRead,BufWritePost * let b:mixed=Mixed_indent()
autocmd User Flags call Hoist("window", "SyntasticStatuslineFlag")
autocmd User Flags call Hoist("window", "%{b:trailing?'[tw]':''}")
autocmd User Flags call Hoist("window", "%{b:mixed?'[mixed]':''}")
@@ -131,7 +129,6 @@ Plug 'troydm/zoomwintab.vim'
Plug 'vim-scripts/gmsh.vim'
Plug 'holomorph/vim-freefem'
Plug 'nanotech/jellybeans.vim'
-Plug 'chriskempson/vim-tomorrow-theme'
if has("nvim")
Plug 'benekastah/neomake'
@@ -233,6 +230,7 @@ au BufNewFile,BufRead *.geo setf gmsh
" Colorscheme
let base16colorspace=256
+" let g:seoul256_background =235
silent! colo $COLORSCHEME
if $BACKGROUND=="dark"
set background=dark
@@ -254,8 +252,6 @@ nnoremap cpn :NERDTreeToggle<cr>
nnoremap cpt :TagbarToggle<cr>
nnoremap cpu :GundoToggle<cr>
-" File edits
-
" Formatting
nnoremap <Leader>fw :%s/\s\+$//<cr>