-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal_init.vim
More file actions
37 lines (29 loc) · 813 Bytes
/
local_init.vim
File metadata and controls
37 lines (29 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
set termguicolors
endif
let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1
colorscheme OceanicNext
"print margin
set colorcolumn=80
"font
set guifont=Monaco:h13
"set guifont=Source\ Code\ Pro\ for\ Powerline
nnoremap <leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
"CtrlP
" Open file menu
nnoremap <Leader>o :CtrlP<CR>
" Open buffer menu
nnoremap <Leader>b :CtrlPBuffer<CR>
" Open most recently used files
nnoremap <Leader>f :CtrlPMRUFiles<CR>
" Use the_silver_searcher as backend of ack.
if executable('ag')
let g:ackprg = 'ag --vimgrep'
endif
"Don't jump to the first result automatically
cnoreabbrev Ack Ack!
nnoremap <Leader>a :Ack!<Space>