From 9a50b3d72c8e0a992733ba93495d0a585f3f3950 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 11 Sep 2021 16:35:46 -0700 Subject: surfingkeys default use firenvim, firenvim default must be invoke with hotkey --- .config/myconf/surfingkeys_config.js | 3 ++- .config/nvim/init.vim | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/myconf/surfingkeys_config.js b/.config/myconf/surfingkeys_config.js index 9d6329f7..c4fc95f1 100644 --- a/.config/myconf/surfingkeys_config.js +++ b/.config/myconf/surfingkeys_config.js @@ -19,6 +19,8 @@ unmap(''); iunmap(':'); // disable all insert mode hotkeys // workaround for surfingkey Ctrl-i can't open firenvim, even with `settings.useNeovim = true;`, not sure why, I just use Ctrl-e for firenvim instead +settings.useNeovim = true; +//iunmap(''); iunmap(''); iunmap(''); iunmap(''); @@ -26,7 +28,6 @@ iunmap(''); iunmap(""); iunmap(''); iunmap(''); -iunmap(''); iunmap(''); mapkey('n','Find next then center cursor', function(){ diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a7589777..caa8ea64 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -18,6 +18,9 @@ Plug 'fnune/base16-vim' "Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update call plug#end() +" next line must put below `Plug 'glacambre/firenvim'`, else if click github issue textarea, then click elsewhere, then click textarea, textarea will not be selected (no cursor in it), not sure why +let g:firenvim_config = { 'localSettings': { '.*': { 'takeover': 'never' } } } + " I use only one return for better readability function Autocmd_set_fenc() " need to test &modifiable for gO -- cgit v1.2.3-70-g09d2