updating codi

This commit is contained in:
Chris 2020-07-26 15:35:04 -04:00
parent cdae7138ac
commit af7eadb7ac
3 changed files with 10 additions and 4 deletions

View file

@ -25,12 +25,11 @@ autocmd FileType which_key set laststatus=0 noshowmode noruler
" Single mappings
let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ]
let g:which_key_map['/'] = [ ':call Comment()' , 'comment' ]
let g:which_key_map['.'] = [ ':e $MYVIMRC' , 'open init' ]
let g:which_key_map[';'] = [ ':Commands' , 'commands' ]
let g:which_key_map['='] = [ '<C-W>=' , 'balance windows' ]
let g:which_key_map[','] = [ 'Startify' , 'start screen' ]
let g:which_key_map['c'] = [ ':Codi!!' , 'virtual repl']
let g:which_key_map['d'] = [ ':bd' , 'delete buffer']
let g:which_key_map['e'] = [ ':CocCommand explorer' , 'explorer' ]
let g:which_key_map['f'] = [ ':Files' , 'search files' ]
@ -54,7 +53,8 @@ let g:which_key_map.a = {
\ 'r' : [':set norelativenumber!' , 'relative line nums'],
\ 's' : [':let @/ = ""' , 'remove search highlight'],
\ 't' : [':FloatermToggle' , 'terminal'],
\ 'v' : [':Vista!!' , 'tag viewer'],
\ 'v' : [':Codi' , 'virtual repl on'],
\ 'V' : [':Codi!' , 'virtual repl off'],
\ }
" b is for buffer
@ -122,6 +122,7 @@ let g:which_key_map.g = {
\ 'P' : [':Git pull' , 'pull'],
\ 'r' : [':GRemove' , 'remove'],
\ 's' : ['<Plug>(GitGutterStageHunk)' , 'stage hunk'],
\ 'S' : [':!git status' , 'status'],
\ 't' : [':GitGutterSignsToggle' , 'toggle signs'],
\ 'u' : ['<Plug>(GitGutterUndoHunk)' , 'undo hunk'],
\ 'v' : [':GV' , 'view commits'],

5
plug-config/leetcode.vim Normal file
View file

@ -0,0 +1,5 @@
let g:leetcode_browser='chrome'
let g:leetcode_china=0
let g:leetcode_hide_paid_only=1
let g:leetcode_solution_filetype='python3'

View file

@ -93,7 +93,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
" Echo doc
" Plug 'Shougo/echodoc.vim'
" Interactive code
Plug 'ChristianChiarulli/codi.vim'
Plug 'metakirby5/codi.vim'
" Vim Wiki
" Plug 'https://github.com/vimwiki/vimwiki.git'
endif