mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 08:45:42 +08:00
resolve conflicts between tmux layer and edit layer
This commit is contained in:
parent
b9b2fa95f2
commit
53b5dde20c
@ -29,8 +29,8 @@ function! SpaceVim#layers#edit#plugins() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SpaceVim#layers#edit#config() abort
|
function! SpaceVim#layers#edit#config() abort
|
||||||
let g:multi_cursor_next_key=get(g:, 'multi_cursor_next_key', '<C-j>')
|
let g:multi_cursor_next_key=get(g:, 'multi_cursor_next_key', '<C-n>')
|
||||||
let g:multi_cursor_prev_key=get(g:, 'multi_cursor_prev_key', '<C-k>')
|
let g:multi_cursor_prev_key=get(g:, 'multi_cursor_prev_key', '<C-u>')
|
||||||
let g:multi_cursor_skip_key=get(g:, 'multi_cursor_skip_key', '<C-x>')
|
let g:multi_cursor_skip_key=get(g:, 'multi_cursor_skip_key', '<C-x>')
|
||||||
let g:multi_cursor_quit_key=get(g:, 'multi_cursor_quit_key', '<Esc>')
|
let g:multi_cursor_quit_key=get(g:, 'multi_cursor_quit_key', '<Esc>')
|
||||||
let g:user_emmet_install_global = 0
|
let g:user_emmet_install_global = 0
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
" seamlessly.
|
" seamlessly.
|
||||||
" This layer is not added by default. To include it, add
|
" This layer is not added by default. To include it, add
|
||||||
" `SpaceVim#layers#load('tmux')` to your `~/.SpaceVim.d/init.vim`.
|
" `SpaceVim#layers#load('tmux')` to your `~/.SpaceVim.d/init.vim`.
|
||||||
" This layer currently overwrites some SpaceVim keybinds including multiple
|
" If you are having issues with <C-h> in a neovim buffer, see
|
||||||
" cursors. If you are having issues with <C-h> in a neovim buffer, see
|
|
||||||
" `https://github.com/neovim/neovim/issues/2048#issuecomment-78045837`
|
" `https://github.com/neovim/neovim/issues/2048#issuecomment-78045837`
|
||||||
"
|
"
|
||||||
" @subsection mappings
|
" @subsection mappings
|
||||||
|
@ -66,11 +66,11 @@ function! SpaceVim#layers#tools#config() abort
|
|||||||
" List of colors that you do not want. ANSI code or #RRGGBB
|
" List of colors that you do not want. ANSI code or #RRGGBB
|
||||||
let g:rainbow#blacklist = [233, 234]
|
let g:rainbow#blacklist = [233, 234]
|
||||||
nnoremap <Leader>fz :FZF<CR>
|
nnoremap <Leader>fz :FZF<CR>
|
||||||
if maparg('<C-l>', 'v') ==# ''
|
if maparg('<C-_>', 'v') ==# ''
|
||||||
vnoremap <silent> <C-l> <Esc>:Ydv<CR>
|
vnoremap <silent> <C-_> <Esc>:Ydv<CR>
|
||||||
endif
|
endif
|
||||||
if maparg('<C-l>', 'n') ==# ''
|
if maparg('<C-_>', 'n') ==# ''
|
||||||
nnoremap <silent> <C-l> <Esc>:Ydc<CR>
|
nnoremap <silent> <C-_> <Esc>:Ydc<CR>
|
||||||
endif
|
endif
|
||||||
map <Leader>td <Plug>TaskList
|
map <Leader>td <Plug>TaskList
|
||||||
noremap <silent> <F8> :TlistToggle<CR>
|
noremap <silent> <F8> :TlistToggle<CR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user