summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mr/mrconfig5
-rw-r--r--vim/.vimrc22
2 files changed, 9 insertions, 18 deletions
diff --git a/mr/mrconfig b/mr/mrconfig
index 541a614..a007de9 100644
--- a/mr/mrconfig
+++ b/mr/mrconfig
@@ -8,11 +8,6 @@ checkout = git clone 'git@urbainvaes.com:gitolite-admin.git' 'gitolite'
update = git pull origin master
push = git push origin master
-[$HOME/ledger]
-checkout = git clone 'git@urbainvaes.com:private/ledger.git' 'ledger'
-update = git pull origin master
-push = git push origin master
-
[$HOME/personal]
checkout = git clone 'git@urbainvaes.com:private/personal.git' 'personal'
update = git pull origin master
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>