dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 7e882f92fac648102036926820aaf4bbd3293f94
parent b99d905778889d0848208d22e2a57ba3522939bb
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Wed,  3 Aug 2022 01:16:21 +0530

vim: StatusLine change from reddish to mono

Swap buffer and find files key bindings in vim ctrlp

Diffstat:
M.config/vim/hyper-red.vim | 12++++++------
M.config/vim/keybindings/keybindings.vim | 4++--
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.config/vim/hyper-red.vim b/.config/vim/hyper-red.vim @@ -3,13 +3,14 @@ " TODO handle light theme " Probably use a autogroup for handling tCo count change " Do it in lua -hi StatusLine ctermbg=white ctermfg=red if &background == "dark" - hi StatusLineNC ctermbg=white ctermfg=black + hi StatusLine guibg=white ctermbg=white guifg=black ctermfg=black + hi StatusLineNC guibg=lightgray ctermbg=lightgray guifg=black ctermfg=black else - hi StatusLineNC ctermbg=black ctermfg=white + hi StatusLine guibg=black ctermbg=black guifg=white ctermfg=white + hi StatusLineNC guibg=darkgray ctermbg=darkgray guifg=white ctermfg=white endif -hi LineNr ctermbg=NONE ctermfg=DarkGray +hi LineNr guibg=NONE ctermbg=NONE guifg=DarkGray ctermfg=DarkGray set fillchars=vert:\│ hi VertSplit term=NONE cterm=NONE gui=NONE hi SignColumn ctermbg=NONE guibg=NONE @@ -21,7 +22,6 @@ hi Constant ctermfg=red guifg=red hi String ctermfg=lightred guifg=lightred hi Special ctermfg=red guifg=red hi Identifier ctermfg=white guifg=white -hi Visual ctermbg=LightGray ctermfg=DarkGray guibg=LightGray guifg=DarkGray +hi Visual ctermbg=DarkGray ctermfg=white guibg=DarkGray guifg=white hi Search ctermbg=Blue ctermfg=White guibg=Blue guifg=White hi Todo ctermbg=NONE ctermfg=Yellow guibg=NONE guifg=Yellow - diff --git a/.config/vim/keybindings/keybindings.vim b/.config/vim/keybindings/keybindings.vim @@ -70,11 +70,11 @@ nnoremap <leader>cr :Cargo run<cr> nnoremap <leader>cc :ChecklistToggleCheckbox<cr> "ctrlp.vim -let g:ctrlp_map = '<tab><tab>' +let g:ctrlp_map = '<leader><leader>' let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] let g:ctrlp_working_path_mode = 'r' let g:gutentags_file_list_command = 'rg --files' -nnoremap <leader><leader> :CtrlPBuffer<cr> +nnoremap <tab><tab> :CtrlPBuffer<cr> " vim-fugitive nnoremap <leader>gg :Ggrep<space> nnoremap <leader>lg :Glgrep<space>