mirror of
https://github.com/gryf/.vim.git
synced 2026-04-10 02:23:32 +02:00
Compare commits
5 Commits
0.0.1
...
84675df236
| Author | SHA1 | Date | |
|---|---|---|---|
| 84675df236 | |||
| a03cd412e4 | |||
| 6de69ddc5c | |||
| 34555fba68 | |||
| 5c5c46c252 |
10
vimrc
10
vimrc
@@ -42,7 +42,6 @@ Plug 'myhere/vim-nodejs-complete', { 'for': 'javascript' }
|
||||
Plug 'othree/html5.vim', { 'for': 'html' }
|
||||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'pcaro90/jpythonfold.vim'
|
||||
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||
Plug 'preservim/nerdcommenter'
|
||||
Plug 'preservim/tagbar'
|
||||
Plug 'regedarek/ZoomWin'
|
||||
@@ -465,6 +464,10 @@ vmap <expr> <C-UP> DVB_Drag('up')
|
||||
vmap <expr> D DVB_Duplicate()
|
||||
let g:DVB_TrimWS = 1
|
||||
"}}}
|
||||
"Fugitive {{{2
|
||||
" I like simple G* commands, i.e. Gblame over Git blame
|
||||
let g:fugitive_legacy_commands = 1
|
||||
"}}}
|
||||
"Gundo {{{2
|
||||
map <Leader>u :GundoToggle<cr>
|
||||
let g:gundo_prefer_python3 = 1
|
||||
@@ -520,6 +523,7 @@ let g:riv_auto_format_table = 0
|
||||
"}}}
|
||||
" Rubber / vim-latex-compiler {{{2
|
||||
let g:rubber_make_on_save = 0
|
||||
let g:rubber_command = 'xelatex'
|
||||
" }}}
|
||||
"ShowMarks {{{2
|
||||
let g:showmarks_ignore_type = "hqprm"
|
||||
@@ -587,7 +591,7 @@ function <SID>StripTrailingWhitespaces(force, mode) range
|
||||
return
|
||||
endif
|
||||
|
||||
if a:force == 1 || &ft =~ 'python\|rst\|wiki\|javascript\|css\|html\|xml'
|
||||
if a:force == 1 || &ft =~ 'python\|rst\|wiki\|javascript\|css\|html\|xml\|yaml\|sh'
|
||||
" Preparation: save last search, and cursor position.
|
||||
let _s=@/
|
||||
let l = line(".")
|
||||
@@ -749,7 +753,7 @@ command W w !sudo tee "%" > /dev/null
|
||||
"}}}
|
||||
" GUI: detect graphics mode, set colorscheme {{{
|
||||
if has('gui_running')
|
||||
set guifont=DejaVuSansMono\ Nerd\ Font\ Mono\ 12
|
||||
set guifont=RobotoMono\ Nerd\ Font\ 12
|
||||
set mouse=a "Enable mouse support
|
||||
" No toolbar, menu, scrollbars, draw simple text tabs. This would keep
|
||||
" window in one place, and also this will conserve space. Tabs are huge
|
||||
|
||||
Reference in New Issue
Block a user