|
|
@@ -22,7 +22,7 @@ set tgc "More terminal colours |
|
|
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" |
|
|
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" |
|
|
|
let base16colorspace=256 |
|
|
|
colorscheme base16-tomorrow-night |
|
|
|
colorscheme base16-mocha |
|
|
|
|
|
|
|
"Pymode stuff |
|
|
|
let g:pymode_folding = 0 |
|
|
@@ -50,7 +50,6 @@ nmap <leader>L :CtrlPLine<cr> |
|
|
|
"NERDTree bingings |
|
|
|
nnoremap <F1> :NERDTreeToggle<cr> |
|
|
|
nnoremap <leader>t :NERDTreeFind<cr> |
|
|
|
nnoremap <F2> :NERDTreeFocus<cr> |
|
|
|
"autocmd vimenter * NERDTree |
|
|
|
|
|
|
|
|
|
|
@@ -71,13 +70,11 @@ nnoremap <F4> :tabnext<cr> |
|
|
|
nnoremap <F5> :buffers<CR>:buffer<Space> |
|
|
|
noremap <BS> <PageUp> |
|
|
|
noremap <Space> <PageDown> |
|
|
|
nmap <leader>p <C-w><C-r> |
|
|
|
noremap <leader>y <C-W>w |
|
|
|
noremap <C-h> <C-W>h |
|
|
|
noremap <C-l> <C-W>l |
|
|
|
noremap <C-j> <C-W>j |
|
|
|
noremap <C-k> <C-W>k |
|
|
|
nnoremap <leader>z :wa<cr> |
|
|
|
nnoremap <leader>z :w<cr> |
|
|
|
nnoremap <leader>c :CtrlPChange<cr> |
|
|
|
nnoremap <leader>C :CtrlPChangeAll<cr> |
|
|
|
nnoremap <leader><cr> :center<cr> |
|
|
@@ -97,6 +94,8 @@ map <leader>ow <Plug>(easymotion-overwin-w) |
|
|
|
nmap <leader>of <Plug>(easymotion-overwin-f2) |
|
|
|
nmap <leader>aw <Plug>(easymotion-bd-w) |
|
|
|
nmap <leader>al <Plug>(easymotion-bd-jk) |
|
|
|
let g:EasyMotion_smartcase = 1 " Infer search casing |
|
|
|
let g:EasyMotion_startofline = 0 " keep cursor column when JK motion |
|
|
|
|
|
|
|
"Copy and pasting |
|
|
|
vmap <C-c> "+y |
|
|
@@ -217,3 +216,11 @@ let g:nnn#action = { |
|
|
|
let $NNN_BMS='h:~/;c:~/.config;n:~/Notes;' |
|
|
|
let $NNN_PLUG='p:preview-tui;c:x2sel;i:imgview;s:tmspawn' |
|
|
|
"let $NNN_FIFO=/tmp/nnn.fifo |
|
|
|
|
|
|
|
|
|
|
|
" Prettier settings |
|
|
|
" let g:prettier#config#config_precedence = 'file-override' |
|
|
|
let g:prettier#autoformat = 1 |
|
|
|
let g:prettier#autoformat_require_pragma = 0 |
|
|
|
let g:prettier#config#tab_width = 4 |
|
|
|
" let g:prettier#config#use_tabs = 'false' |