add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
21
old_snippets/vim-jumps-fix.en.md
Normal file
21
old_snippets/vim-jumps-fix.en.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: "remapping ability to jump"
|
||||
date: 2020-01-11T13:09:41+01:00
|
||||
draft: false
|
||||
snippet_types: ["vim"]
|
||||
---
|
||||
|
||||
Moving efficiently in vim is a massive topic but recently I just wanted to take advantage of the
|
||||
jump list more but by xQuartz / xterm mac terminal setup meant the default key mappings we being
|
||||
intercepted as promote / demote pane. Simple remap did the trick
|
||||
|
||||
```vim script
|
||||
nnoremap <Leader>i <C-i>
|
||||
nnoremap <Leader>o <C-o>
|
||||
```
|
||||
|
||||
In the following demo I open this very post then navigate to my **.nvimrc** and yank the code
|
||||
remapping snippet. With the snipped yanked, using this using jump list via **\<C-O>**, I jump back
|
||||
to the markdown file I was editing and put.
|
||||
|
||||
{{< asciicast-with-caption id="292978" title="demo of using the jump list" >}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue