From fa9a8d6e29a5aa89ba6a83c566f5a83c74434597 Mon Sep 17 00:00:00 2001 From: Thomas Buckley-Houston Date: Fri, 10 Dec 2021 08:29:21 -0500 Subject: Remove `` shortcut to open files It causes too many conflicts with other plugins that expect the standard `` behaviour. --- README.md | 2 +- autoload/novim_mode.vim | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index ae36a30..6aaa5bf 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ One further common problem is that `tmux` can change key combination behaviour, #### General editor shortcuts * `CTRL+N`: Open a new file. - * `CTRL+O`: Open an existing file. + * ~~`CTRL+O`: Open an existing file.~~ Causes too many conflicts, use (`ALT+;`, type `edit`) or a file manager instead * `CTRL+S`: Saves the current file. * `CTRL+Q`: Quit Vim. * `CTRL+G`: Goto line. diff --git a/autoload/novim_mode.vim b/autoload/novim_mode.vim index df1a10e..a997f74 100644 --- a/autoload/novim_mode.vim +++ b/autoload/novim_mode.vim @@ -85,9 +85,6 @@ function! g:SetNoVimModeShortcuts() " CTRL+n for new file inoremap :edit - " CTRL+o to open file - " TODO: hook into netrw or NERDTree - inoremap :edit " CTRL+s saves inoremap :update -- cgit v1.2.3-70-g09d2