Sweeping changes to vim environment
Details in README.md
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
:insert
|
||||
# title
|
||||
|
||||
Updated:
|
||||
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
:insert
|
||||
#!/usr/bin/env bash
|
||||
#===============================================================================
|
||||
#
|
||||
|
||||
55
.vim/vim-keys-help.md
Normal file
55
.vim/vim-keys-help.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# vim-keys
|
||||
|
||||
A cheat sheet for my vim customizations
|
||||
|
||||
---
|
||||
|
||||
## Spelling
|
||||
|
||||
`<ctrl>-p` - auto-complete spelling suggestions
|
||||
`<F10>` - toggle spellcheck
|
||||
|
||||
## Highlights
|
||||
|
||||
`<leader><leader>` - turn off search highlight
|
||||
`<Leader>C` - toggle row/column cursor
|
||||
|
||||
## Buffers
|
||||
|
||||
`<ctrl>H` - to move to previous BUFFER
|
||||
`<ctrl>L` - to move to next BUFFER
|
||||
`<ctrl>J` - to move to lower PANE
|
||||
`<ctrl>K` - to move to upper PANE
|
||||
|
||||
`<leader>s` - to save buffer
|
||||
`<leader>c` - to close buffer
|
||||
`<leader>a` - to abandon unsaved buffer
|
||||
|
||||
`<leader>x` - bring up the copy buffer
|
||||
`<F5>` - refresh buffer
|
||||
|
||||
`<leader>r` - open registers
|
||||
|
||||
## FZF
|
||||
|
||||
`<leader>f` - open FZF files
|
||||
`<leader>b` - open FZF buffers
|
||||
|
||||
## Text bubbling (http://vimcasts.org/episodes/bubbling-text/)
|
||||
|
||||
After text selection (`<ctrl-v>`)
|
||||
`<ctrl>k` - bubble up
|
||||
`<ctrl>j` - bubble down
|
||||
|
||||
## Date and Time stamps
|
||||
|
||||
`<F2>` - insert %Y-%m-%d %H:%M:%S
|
||||
`<F3>` - insert %Y-%m-%d %a
|
||||
`<F4>` - insert %H:%M
|
||||
|
||||
## Snippets
|
||||
pre-made files inserted from `.vim/templates`
|
||||
|
||||
`,sh` - insert shell header
|
||||
`,md` - insert markdown header
|
||||
`,ban` - insert ASCII banner
|
||||
@@ -1,42 +0,0 @@
|
||||
# /home/phansible/vim-keys
|
||||
|
||||
## Highlights
|
||||
|
||||
`<F10>` - turn off spellcheck highlights
|
||||
`<leader></>` - turn off search highlight
|
||||
`<Leader>c` - toggle row/column cursor
|
||||
|
||||
## Buffers & Panes
|
||||
|
||||
`<ctrl>-H` - to move to previous BUFFER
|
||||
`<ctrl>-L` - to move to next BUFFER
|
||||
`<ctrl>-J` - to move to lower PANE
|
||||
`<ctrl>-K` - to move to upper PANE
|
||||
|
||||
`<leader>-s` - to save buffer
|
||||
`<leader>-c` - to close buffer
|
||||
|
||||
`<leader>-x` - bring up the copy buffer
|
||||
`<F5>` - refresh buffer
|
||||
|
||||
## FZF
|
||||
|
||||
`<leader>-f` - open files
|
||||
`;` - open buffers
|
||||
|
||||
## Text bubbling (http://vimcasts.org/episodes/bubbling-text/)
|
||||
|
||||
After text selection (`<ctrl-v>`)
|
||||
`<ctrl>-k` - bubble up
|
||||
`<ctrl>-j` - bubble down
|
||||
|
||||
## Date and Time stamps
|
||||
|
||||
`<F2>` - insert %Y-%m-%d %H:%M:%S
|
||||
`<F3>` - insert %Y-%m-%d %a
|
||||
`<F4>` - insert %H:%M
|
||||
|
||||
---
|
||||
|
||||
`<ctrl>-p` - auto-complete spelling suggestions
|
||||
|
||||
Reference in New Issue
Block a user