windows vimrc
This commit is contained in:
parent
1d4aaddca1
commit
708a7e0394
3 changed files with 342 additions and 13 deletions
22
vim/.vimrc
22
vim/.vimrc
|
|
@ -53,7 +53,7 @@
|
|||
" appearance {{{
|
||||
colorscheme zenburn
|
||||
syntax on " Enable syntax
|
||||
set encoding=utf-9 " Keep utf-8 encoding
|
||||
set encoding=utf-8 " Keep utf-8 encoding
|
||||
set scrolloff=2 " Keep at least 3 lines above and below cursor
|
||||
set showmode " Something something buffers
|
||||
set showcmd " Show command in bottom bar
|
||||
|
|
@ -77,10 +77,10 @@
|
|||
" }}}
|
||||
|
||||
" Folding {{{
|
||||
set foldenable " Enable folding
|
||||
set foldmethod = marker " Fold sections by marker
|
||||
set foldlevel = 0 " Fold by default
|
||||
set modelines = 1 " Check final line of file for modeline
|
||||
set foldenable " Enable folding
|
||||
set foldmethod=marker " Fold sections by marker
|
||||
set foldlevel=0 " Fold by default
|
||||
set modelines=1 " Check final line of file for modeline
|
||||
|
||||
" }}}
|
||||
|
||||
|
|
@ -114,9 +114,9 @@
|
|||
"}}}
|
||||
|
||||
" tab settings {{{
|
||||
set tabstop = 4 " Number of visual spaces per tab
|
||||
set softtabstop = 4 " Should always = tabstop
|
||||
set shiftwidth = 4 " Indent/outdent by 4 columns
|
||||
set tabstop=4 " Number of visual spaces per tab
|
||||
set softtabstop=4 " Should always = tabstop
|
||||
set shiftwidth=4 " Indent/outdent by 4 columns
|
||||
set expandtab " Tabs are spaces
|
||||
set shiftround " Always indent/outdent to the nearest tabstop
|
||||
" Make search terms more visible
|
||||
|
|
@ -275,6 +275,7 @@
|
|||
" git commands {{{
|
||||
" TODO: map fugitive commands
|
||||
" TODO: check out gv etc
|
||||
" TODO: bind hunk committing
|
||||
" Gitgutter hunk view
|
||||
nmap ghv <Plug>(GitGutterPreviewHunk)
|
||||
nmap ghn <Plug>(GitGutterNextHunk)
|
||||
|
|
@ -286,6 +287,11 @@
|
|||
"
|
||||
"}}}
|
||||
|
||||
" gvim {{{
|
||||
set guioptions=Ace
|
||||
|
||||
"}}}
|
||||
|
||||
|
||||
" folding options, this must be last in file
|
||||
" vim:foldmethod=marker:foldlevel=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue