Comments (2)
0a1
> let g:loaded_matchit = 1
17a19
> set background=dark
18a21
> let g:lion_squeeze_spaces = 1
38c41,42
< Plug 'tpope/vim-surround'
---
> " Plug 'tpope/vim-surround'
> Plug 'tommcdo/vim-lion'
43a48,49
> Plug 'andymass/vim-matchup'
> Plug 'mg979/vim-visual-multi', {'branch':'master'}
44a51
> " Lua based
46a54,55
> Plug 'ggandor/leap.nvim'
> Plug 'kylechui/nvim-surround'
54c63
< set background=dark
---
>
60,112c69,132
< " VsCode Any
< map zh <Cmd>call VSCodeNotify('yo1dog.cursor-trim.lTrimCursor')<CR>
< map zl <Cmd>call VSCodeNotify('yo1dog.cursor-trim.rTrimCursor')<CR>
< map zi <Cmd>call VSCodeNotify('yo1dog.cursor-trim.trimCursor')<CR>
< map ze <Cmd>call VSCodeNotify('scrollLineDown')<CR>
< map zy <Cmd>call VSCodeNotify('scrollLineUp')<CR>
< map [f <Cmd>call VSCodeNotify('workbench.view.search.focus')<CR>
< map ]f <Cmd>call VSCodeNotify('workbench.action.replaceInFiles')<CR>
< map gD <Cmd>call VSCodeNotify('editor.action.revealDefinitionAside')<CR>
< map gr <Cmd>call VSCodeNotify('editor.action.goToReferences')<CR>
< map [s <Cmd>call VSCodeNotify('editor.action.toggleStickyScroll')<CR>
< map =< <Cmd>call VSCodeNotify('editor.action.trimTrailingWhitespace')<CR>
< map gl <Cmd>call VSCodeNotify('editor.action.openLink')<CR>
< xmap gc <Plug>VSCodeCommentary
< nmap gc <Plug>VSCodeCommentary
< omap gc <Plug>VSCodeCommentary
< nmap gcc <Plug>VSCodeCommentaryLine
< map <C-d> 15jzz
< map <C-u> 15kzz
<
< vnoremap <leader>f <Cmd>call VSCodeNotifyRangePos('editor.action.formatSelection', line("v"), line("."), col("v"), col("."), 1)<CR>
< nmap gb <Cmd>call VSCodeNotify('editor.action.addSelectionToNextFindMatch')<cr>
<
< nnoremap <C-Up> <Cmd>call VSCodeNotify('editor.action.insertCursorAbove')<cr>
< nnoremap <C-Down> <Cmd>call VSCodeNotify('editor.action.insertCursorBelow')<cr>
< nnoremap <C-Right> <Cmd>call VSCodeNotify('workbench.action.nextEditor')<cr>
< nnoremap <C-Left> <Cmd>call VSCodeNotify('workbench.action.previousEditor')<cr>
<
< nnoremap <leader>o <Cmd>call VSCodeNotify('workbench.action.openRecent')<CR>
< nnoremap ,w <Cmd>call VSCodeNotify('workbench.action.files.save')<cr>
< nnoremap ,W <Cmd>call VSCodeNotify('workbench.action.files.saveWithoutFormatting')<cr>
< nnoremap gh <Cmd>call VSCodeNotify('editor.action.showHover')<cr>
<
< " VsCode Folding
< map za <Cmd>call VSCodeNotify('editor.toggleFold')<CR>
< map zC <Cmd>call VSCodeNotify('editor.foldAll')<CR>
< map zO <Cmd>call VSCodeNotify('editor.unfoldAll')<CR>
< map zp <Cmd>call VSCodeNotify('editor.gotoParentFold')<CR>
<
<
< nnoremap <C-b> <Cmd>call VSCodeNotify('workbench.action.toggleSidebarVisibility')<cr>
< nnoremap <C-j> <Cmd>call VSCodeNotify('workbench.action.terminal.toggleTerminal')<cr>
< nnoremap <leader>gg <Cmd>call VSCodeNotify('workbench.view.scm')<cr>
< nnoremap <leader>ge <Cmd>call VSCodeNotify('workbench.view.extensions')<cr>
< nnoremap <leader>gs <Cmd>call VSCodeNotify('workbench.view.search.toggleVisibility')<cr>
< nnoremap <leader>gf <Cmd>call VSCodeNotify('workbench.view.explorer')<cr>
< nnoremap <leader>gk <Cmd>call VSCodeNotify('workbench.action.openGlobalKeybindings')<cr>
< " VsCode Scrolling
< map zl <Cmd>call VSCodeNotify('toggleTypewriter')<CR>
< " nnoremap <C-w><C-c> <Cmd>call VSCodeNotify('workbench.action.closeActiveEditor')<CR>k
< imap <C-k> <Cmd>call VSCodeNotify('editor.action.insertLineBefore')<CR>
< nnoremap <A-h> <Cmd>call VSCodeNotify('workbench.action.previousEditor')<cr>
< nnoremap <A-l> <Cmd>call VSCodeNotify('workbench.action.nextEditor')<cr>
---
> " VsCode Any
> map zh <Cmd>call VSCodeNotify('yo1dog.cursor-trim.lTrimCursor')<CR>
> map zl <Cmd>call VSCodeNotify('yo1dog.cursor-trim.rTrimCursor')<CR>
> map zi <Cmd>call VSCodeNotify('yo1dog.cursor-trim.trimCursor')<CR>
> map ze <Cmd>call VSCodeNotify('scrollLineDown')<CR>
> map zy <Cmd>call VSCodeNotify('scrollLineUp')<CR>
> map [f <Cmd>call VSCodeNotify('workbench.view.search.focus')<CR>
> map ]f <Cmd>call VSCodeNotify('workbench.action.replaceInFiles')<CR>
> map gD <Cmd>call VSCodeNotify('editor.action.revealDefinitionAside')<CR>
> map gr <Cmd>call VSCodeNotify('editor.action.goToReferences')<CR>
> map [s <Cmd>call VSCodeNotify('editor.action.toggleStickyScroll')<CR>
> map =< <Cmd>call VSCodeNotify('editor.action.trimTrailingWhitespace')<CR>
> map gl <Cmd>call VSCodeNotify('editor.action.openLink')<CR>
> xmap gc <Plug>VSCodeCommentary
> nmap gc <Plug>VSCodeCommentary
> omap gc <Plug>VSCodeCommentary
> nmap gcc <Plug>VSCodeCommentaryLine
> map <C-d> 15jzz
> map <C-u> 15kzz
>
> vnoremap <leader>f <Cmd>call VSCodeNotifyRangePos('editor.action.formatSelection', line("v"), line("."), col("v"), col("."), 1)<CR>
> nmap gb <Cmd>call VSCodeNotify('editor.action.addSelectionToNextFindMatch')<cr>
>
> " nnoremap <C-Up> <Cmd>call VSCodeNotify('editor.action.insertCursorAbove')<cr>
> " nnoremap <C-Down> <Cmd>call VSCodeNotify('editor.action.insertCursorBelow')<cr>
> nnoremap <C-Right> <Cmd>call VSCodeNotify('workbench.action.nextEditor')<cr>
> nnoremap <C-Left> <Cmd>call VSCodeNotify('workbench.action.previousEditor')<cr>
>
> nnoremap <leader>o <Cmd>call VSCodeNotify('workbench.action.openRecent')<CR>
> nnoremap ,w <Cmd>call VSCodeNotify('workbench.action.files.save')<cr>
> nnoremap ,W <Cmd>call VSCodeNotify('workbench.action.files.saveWithoutFormatting')<cr>
> nnoremap gh <Cmd>call VSCodeNotify('editor.action.showHover')<cr>
>
> " VsCode Folding
> map za <Cmd>call VSCodeNotify('editor.toggleFold')<CR>
> map zC <Cmd>call VSCodeNotify('editor.foldAll')<CR>
> map zO <Cmd>call VSCodeNotify('editor.unfoldAll')<CR>
> map zp <Cmd>call VSCodeNotify('editor.gotoParentFold')<CR>
>
>
> nnoremap <C-b> <Cmd>call VSCodeNotify('workbench.action.toggleSidebarVisibility')<cr>
> nnoremap <C-j> <Cmd>call VSCodeNotify('workbench.action.terminal.toggleTerminal')<cr>
> nnoremap <leader>gg <Cmd>call VSCodeNotify('workbench.view.scm')<cr>
> nnoremap <leader>ge <Cmd>call VSCodeNotify('workbench.view.extensions')<cr>
> nnoremap <leader>gs <Cmd>call VSCodeNotify('workbench.view.search.toggleVisibility')<cr>
> nnoremap <leader>gf <Cmd>call VSCodeNotify('workbench.view.explorer')<cr>
> nnoremap <leader>gk <Cmd>call VSCodeNotify('workbench.action.openGlobalKeybindings')<cr>
> " VsCode Scrolling
> map zl <Cmd>call VSCodeNotify('toggleTypewriter')<CR>
> " nnoremap <C-w><C-c> <Cmd>call VSCodeNotify('workbench.action.closeActiveEditor')<CR>k
> imap <C-k> <Cmd>call VSCodeNotify('editor.action.insertLineBefore')<CR>
> nnoremap <A-h> <Cmd>call VSCodeNotify('workbench.action.previousEditor')<cr>
> nnoremap <A-l> <Cmd>call VSCodeNotify('workbench.action.nextEditor')<cr>
> nnoremap <A-j> <cmd>call VSCodeNotify('editor.action.moveLinesDownAction')<cr>
> nnoremap <A-k> <cmd>call VSCodeNotify('editor.action.moveLinesUpAction')<cr>
>
> let g:VM_maps = {}
> let g:VM_maps["Select Cursor Down"] = '<C-Down>' " start selecting down
> let g:VM_maps["Select Cursor Up"] = '<C-Up>' " start selecting up
>
>
> inoremap <C-Up> <Cmd>call VSCodeNotify('editor.action.insertCursorAbove')<cr>
> inoremap <C-Down> <Cmd>call VSCodeNotify('editor.action.insertCursorBelow')<cr>
>
114,118c134,159
< noremap <C-f> <C-f>zz
< noremap <C-b> <C-b>zz
< map <C-d> 12jzz
< map <C-u> 12kzz
< nnoremap zp vaBo^<Esc>
---
>
> nnoremap <A-j> mz:m+<cr>`z
> nnoremap <A-k> mz:m-2<cr>`z
> noremap <C-f> <C-f>zz
> noremap <C-b> <C-b>zz
> map <C-d> 12jzz
> map <C-u> 12kzz
> nnoremap zp vaBo^<Esc>
>
>
> let g:VM_maps = {}
> let g:VM_mouse_mappings = 1
> let g:VM_maps['Find Under'] = '<C-n>' " replace C-n
> let g:VM_maps['Find Subword Under'] = '<C-n>' " replace visual C-n
> let g:VM_maps["Select Cursor Down"] = '<C-Down>' " start selecting down
> let g:VM_maps["Select Cursor Up"] = '<C-Up>' " start selecting up
> let g:VM_maps["Undo"] = 'u'
> let g:VM_maps["Redo"] = '<C-r>'
> let g:VM_leader = ','
> let g:VM_maps["Select All"] = '\\A' " '\\' are meant to be g:VM_leader
> let g:VM_maps["Start Regex Search"] = '\\/'
> let g:VM_maps["Visual Regex"] = '\\/'
> let g:VM_maps["Visual All"] = '\\A'
> let g:VM_maps["Visual Add"] = '\\a'
> let g:VM_maps["Visual Find"] = '\\f'
> let g:VM_maps["Visual Cursors"] = '\\c'
124,126c165,167
< nmap s <plug>(SubversiveSubstitute)
< nmap ss <plug>(SubversiveSubstituteLine)
< nmap S <plug>(SubversiveSubstituteToEndOfLine)
---
> nmap x <plug>(SubversiveSubstitute)
> nmap xx <plug>(SubversiveSubstituteLine)
> nmap X <plug>(SubversiveSubstituteToEndOfLine)
147,148d187
< nnoremap <A-j> mz:m+<cr>`z
< nnoremap <A-k> mz:m-2<cr>`z
225c264,276
< EOF
\ No newline at end of file
---
> local ok_leap, leap = pcall(require,'leap')
> if ok_leap then
> leap.add_default_mappings()
> end
>
> local ok_surround, surround = pcall(require,'nvim-surround')
> if ok_surround then
> surround.setup({})
> end
>
> EOF
>
>
from dotfiles.
keybindings.json
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "neovim.mode == insert && editorFocus"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.previousSelectionMatchFindAction",
"when": "neovim.mode == insert && editorFocus"
},
{
"key": "ctrl+x",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "neovim.mode == insert && editorFocus"
}
]
from dotfiles.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.