From 4bb73ea2141a405c6c22ed273f92247df3e18b9f Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 28 Apr 2016 15:15:25 +0100 Subject: Remove ledger --- vim/.vimrc | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'vim') 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 :GitFiles nnoremap :Colors nnoremap :History: -else - nnoremap b :Buffers - nnoremap f :Files - nnoremap r :History - nnoremap g :GitFiles - nnoremap c :Colors - nnoremap h :History: endif +nnoremap b :Buffers +nnoremap f :Files +nnoremap r :History +nnoremap g :GitFiles +nnoremap c :Colors +nnoremap h :History: imap (fzf-complete-line) imap (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 nnoremap cpt :TagbarToggle nnoremap cpu :GundoToggle -" File edits - " Formatting nnoremap fw :%s/\s\+$// -- cgit v1.2.3