aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Buckley-Houston2021-12-10 13:29:21 +0000
committerThomas Buckley-Houston2021-12-10 13:29:21 +0000
commitfa9a8d6e29a5aa89ba6a83c566f5a83c74434597 (patch)
tree0f508e4fb690fd3c999a9a9d067a35f931811e58
parent28617f39da68fcf4d738040331f48285006022bb (diff)
Remove `<C-O>` shortcut to open files
It causes too many conflicts with other plugins that expect the standard `<C-O>` behaviour.
-rw-r--r--README.md2
-rw-r--r--autoload/novim_mode.vim3
2 files changed, 1 insertions, 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 <C-N> <C-O>:edit<Space>
- " CTRL+o to open file
- " TODO: hook into netrw or NERDTree
- inoremap <C-O> <C-O>:edit<Space>
" CTRL+s saves
inoremap <silent> <C-S> <C-O>:update<CR>