Compare commits
4 Commits
34073608c8
...
a881d3e62a
Author | SHA1 | Date | |
---|---|---|---|
a881d3e62a | |||
2ab332db65 | |||
dbff00b6fc | |||
9cc1ac8d87 |
9
ginit.vim
Normal file
9
ginit.vim
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
if exists(':GuiFont')
|
||||||
|
if platform#is_windows()
|
||||||
|
GuiFont Consolas:h9
|
||||||
|
else
|
||||||
|
GuiFont Source\ Code\ Pro:h9
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
colorscheme fresh
|
@ -64,6 +64,7 @@ nnoremap k gk
|
|||||||
nnoremap <leader>w :w!<CR>
|
nnoremap <leader>w :w!<CR>
|
||||||
|
|
||||||
" Switch panes in a tmux aware way
|
" Switch panes in a tmux aware way
|
||||||
|
if !has('win32')
|
||||||
nnoremap <silent> <C-h> :TmuxNavigateLeft<CR>
|
nnoremap <silent> <C-h> :TmuxNavigateLeft<CR>
|
||||||
nnoremap <silent> <C-j> :TmuxNavigateDown<CR>
|
nnoremap <silent> <C-j> :TmuxNavigateDown<CR>
|
||||||
nnoremap <silent> <C-k> :TmuxNavigateUp<CR>
|
nnoremap <silent> <C-k> :TmuxNavigateUp<CR>
|
||||||
@ -83,6 +84,12 @@ else
|
|||||||
tnoremap <silent> <C-w>k <C-w>N:TmuxNavigateUp<CR>
|
tnoremap <silent> <C-w>k <C-w>N:TmuxNavigateUp<CR>
|
||||||
tnoremap <silent> <C-w>l <C-w>N:TmuxNavigateRight<CR>
|
tnoremap <silent> <C-w>l <C-w>N:TmuxNavigateRight<CR>
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
nnoremap <silent> <C-h> <C-w>h
|
||||||
|
nnoremap <silent> <C-j> <C-w>j
|
||||||
|
nnoremap <silent> <C-k> <C-w>k
|
||||||
|
nnoremap <silent> <C-l> <C-w>l
|
||||||
|
endif
|
||||||
|
|
||||||
" Quick tabs
|
" Quick tabs
|
||||||
nnoremap <leader>tn :tabnew<Space>
|
nnoremap <leader>tn :tabnew<Space>
|
||||||
|
@ -17,7 +17,7 @@ let g:statusline#dark_grey = {'fg': ['244', '#808080'], 'bg': ['233', '#12121
|
|||||||
function! s:hi(group, color) abort
|
function! s:hi(group, color) abort
|
||||||
execute 'highlight '.a:group
|
execute 'highlight '.a:group
|
||||||
\.' ctermfg='.a:color['fg'][0].' ctermbg='.a:color['bg'][0]
|
\.' ctermfg='.a:color['fg'][0].' ctermbg='.a:color['bg'][0]
|
||||||
\.' guifg='.a:color['fg'][1].' guibg='.a:color['fg'][1]
|
\.' guifg='.a:color['fg'][1].' guibg='.a:color['bg'][1]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" StatusLineLight is shows the mode and cursor information, it is dynamically
|
" StatusLineLight is shows the mode and cursor information, it is dynamically
|
||||||
|
Loading…
x
Reference in New Issue
Block a user