mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 10:05:37 +02:00
updating codi
This commit is contained in:
parent
cdae7138ac
commit
af7eadb7ac
3 changed files with 10 additions and 4 deletions
|
@ -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
5
plug-config/leetcode.vim
Normal 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'
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue