aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThomas Buckley-Houston2017-05-17 01:46:24 +0000
committerThomas Buckley-Houston2017-05-17 01:46:24 +0000
commitd86529a99fa0b5c0707e02119fd6a507c7bcb474 (patch)
tree3b1caa6cb4b3f7d9e5c475684a30be23a85ce0ba /README.md
parent46dccf06e4723ea8dbe3a71e213367647ae549f1 (diff)
README notes about interoperability
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5a4740f..98bb17a 100644
--- a/README.md
+++ b/README.md
@@ -36,3 +36,22 @@ Most keybindings should work as you might expect from, say Atom or Sublime Text;
* `ALT+UP/DOWN`: Move current line up/down
* `CTRL+Q`: Exit window/tab/split/quickfix/etc
+### Interoperability
+
+You may wish to adjust the order in which this plugin is loaded as it overrides mappings.
+
+When adding a new binding that needs Normal mode, you should use `<C-O>` before the targeted command, for example;
+```vim
+" Ensure CtrlP doesn't get overridden by autocomplete in insertmode
+inoremap <C-P> <C-O>:CtrlP<CR>
+```
+
+For easily navigating splits/windows/etc you will want to create your own mappings. Personally, I'm currently using [vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) with my own custom mappings to `CTRL+ARROW`.
+
+To access the Vim command prompt, I currently have this mapping;
+```vim
+inoremap <C-L> <C-O>:
+```
+It is of course useful for many things. For example search and replace.
+
+Perhaps these mappings could be added as configurable optionals one day.