mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 15:06:38 -05:00
conceal current line in normal mode for vimpager + tweak README
This commit is contained in:
parent
35a433f2a4
commit
8b3a41b5a5
2 changed files with 63 additions and 62 deletions
124
README.md
124
README.md
|
@ -76,85 +76,85 @@ As usual, to have your system use `vimpager` in place of `less`, you'll need to
|
||||||
|
|
||||||
### Mouse ###
|
### Mouse ###
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|--------------------------|------|----------------------------------------------|
|
|----------------------|------|----------------------------------------------|
|
||||||
| \<Ctrl-ScrollUp\> | ALL | Scroll right a few characters at a time |
|
| Ctrl+ScrollUp | ALL | Scroll right a few characters at a time |
|
||||||
| \<Ctrl-ScrollDown\> | ALL | Scroll left a few characters at a time |
|
| Ctrl+ScrollDown | ALL | Scroll left a few characters at a time |
|
||||||
| \<Alt-ScrollUp\> | ALL | Scroll right one character at a time |
|
| Alt+ScrollUp | ALL | Scroll right one character at a time |
|
||||||
| \<Alt-ScrollDown\> | ALL | Scroll left one character at a time |
|
| Alt+ScrollDown | ALL | Scroll left one character at a time |
|
||||||
| | | |
|
| | | |
|
||||||
| MiddleClick | ALL | Select between the cursor and the mouse |
|
| MiddleClick | ALL | Select between the cursor and the mouse |
|
||||||
| \<Ctrl-LeftClick\> | ALL | Select between the cursor and the mouse |
|
| Ctrl+LeftClick | ALL | Select between the cursor and the mouse |
|
||||||
| \<Alt-LeftClick\> | ALL | Select the line at the mouse |
|
| Alt+LeftClick | ALL | Select the line at the mouse |
|
||||||
| \<Ctrl-Alt-LeftClick\> | ALL | Select the paragraph at the mouse |
|
| Ctrl+Alt+LeftClick | ALL | Select the paragraph at the mouse |
|
||||||
| | | |
|
| | | |
|
||||||
| \<Ctrl-RightClick\> | ALL | Copy selection or character under the cursor |
|
| Ctrl+RightClick | ALL | Copy selection or character under the cursor |
|
||||||
| \<Ctrl-MiddleClick\> | ALL | Copy selection or character under the cursor |
|
| Ctrl+MiddleClick | ALL | Copy selection or character under the cursor |
|
||||||
| \<Alt-RightClick\> | ALL | Cut selection or character under the cursor |
|
| Alt+RightClick | ALL | Cut selection or character under the cursor |
|
||||||
| \<Alt-MiddleClick\> | ALL | Cut selection or character under the cursor |
|
| Alt+MiddleClick | ALL | Cut selection or character under the cursor |
|
||||||
| \<Ctrl-Alt-RightClick\> | ALL | Paste at the cursor |
|
| Ctrl+Alt+RightClick | ALL | Paste at the cursor |
|
||||||
| \<Ctrl-Alt-MiddleClick\> | ALL | Paste at the cursor |
|
| Ctrl+Alt+MiddleClick | ALL | Paste at the cursor |
|
||||||
| \<Shift-MiddleClick\> | ALL | Paste the contents of the xorg buffer |
|
| Shift+MiddleClick | ALL | Paste the contents of the xorg buffer |
|
||||||
|
|
||||||
### Keyboard ###
|
### Keyboard ###
|
||||||
|
|
||||||
#### Sidebars ####
|
#### Sidebars ####
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|-----------------------|------|-----------------------------------------------|
|
|-----------------|------|-----------------------------------------------|
|
||||||
| \<(Ctrl-or-Alt)-F1\> | ALL | Toggle **vimfiler** file manager sidebar |
|
| Ctrl-or-Alt+F1 | ALL | Toggle **vimfiler** file manager sidebar |
|
||||||
| \<(Ctrl-or-Alt)-F2\> | ALL | Toggle the **gundo** undo history sidebar |
|
| Ctrl-or-Alt+F2 | ALL | Toggle the **gundo** undo history sidebar |
|
||||||
| \<(Ctrl-or-Alt)-F3\> | ALL | Toggle the **tagbar** source code tag sidebar |
|
| Ctrl-or-Alt+F3 | ALL | Toggle the **tagbar** source code tag sidebar |
|
||||||
| \<(Ctrl-or-Alt)-F4\> | ALL | Toggle the **extradite** git history window |
|
| Ctrl-or-Alt+F4 | ALL | Toggle the **extradite** git history window |
|
||||||
| \<(Ctrl-or-Alt)-F12\> | ALL | Toggle the **goyo** distraction-free mode |
|
| Ctrl-or-Alt+F12 | ALL | Toggle the **goyo** distraction-free mode |
|
||||||
|
|
||||||
#### Toggles ####
|
#### Toggles ####
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|------------------------|------|--------------------------------------------------|
|
|-----------------|------|--------------------------------------------------|
|
||||||
| ~ | N | Popup a command list dialog |
|
| ~ | N | Popup a command list dialog |
|
||||||
| | | |
|
| | | |
|
||||||
| \<F1\> | ALL | Toggle line wrapping |
|
| F1 | ALL | Toggle line wrapping |
|
||||||
| \<F2\> | ALL | Toggle highlighting of spelling mistakes |
|
| F2 | ALL | Toggle highlighting of spelling mistakes |
|
||||||
| \<F3\> | ALL | Toggle source code syntax checking |
|
| F3 | ALL | Toggle source code syntax checking |
|
||||||
| \<F4\> | ALL | Toggle external-paste mode |
|
| F4 | ALL | Toggle external-paste mode |
|
||||||
| | | |
|
| | | |
|
||||||
| \` | N | Toggle gutter (left bar with line numbers etc.) |
|
| \` | N | Toggle gutter (left bar with line numbers etc.) |
|
||||||
| \<Backslash\>\<F1\> | N | Toggle the **vim** reference manual |
|
| Backslash+F1 | N | Toggle the **vim** reference manual |
|
||||||
| \<Backslash\>\<Space\> | N | Toggle the **goyo** distraction-free UI |
|
| Backslash+Space | N | Toggle the **goyo** distraction-free UI |
|
||||||
| ?\<Space\> | N | Toggle the **spellcheck** bottom bar of mistakes |
|
| ?+Space | N | Toggle the **spellcheck** bottom bar of mistakes |
|
||||||
|
|
||||||
#### Spell Check ####
|
#### Spell Check ####
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|------------|------|-----------------------------------------------|
|
|---------|------|-----------------------------------------------|
|
||||||
| ?\<Space\> | N | Toggle spellcheck error list |
|
| ?+Space | N | Toggle spellcheck error list |
|
||||||
| ?+ | N | Add the selected word to the local dictionary |
|
| ?+ | N | Add the selected word to the local dictionary |
|
||||||
| ?? | N | Show spelling suggestions for selected word |
|
| ?? | N | Show spelling suggestions for selected word |
|
||||||
| ?N | N | Go to the next spelling mistake |
|
| ?N | N | Go to the next spelling mistake |
|
||||||
| ?P | N | Go to the previous spelling mistake |
|
| ?P | N | Go to the previous spelling mistake |
|
||||||
|
|
||||||
#### Formatting ####
|
#### Formatting ####
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|-------------|------|---------------------------------------------------------------|
|
|----------|------|---------------------------------------------------------------|
|
||||||
| \<Leader\>J | N+V | Format line/selected lines to a max width of the _textwidth_ |
|
| Leader+J | N+V | Format line/selected lines to a max width of the _textwidth_ |
|
||||||
| \<Leader\>f | N+V | Format document/selection alignment using Vim syntax |
|
| Leader+f | N+V | Format document/selection alignment using Vim syntax |
|
||||||
| \<Leader\>F | N | Format based on file-type using Autoformat |
|
| Leader+F | N | Format based on file-type using Autoformat |
|
||||||
| \<Leader\>F | N+V | (Markdown) Format table cursor is currently on |
|
| Leader+F | N+V | (Markdown) Format table cursor is currently on |
|
||||||
| \<Leader\>t | N | Convert all tabs into spaces and continue session with spaces |
|
| Leader+t | N | Convert all tabs into spaces and continue session with spaces |
|
||||||
| \<Leader\>T | N | Convert all spaces into tabs and continue session with tabs |
|
| Leader+T | N | Convert all spaces into tabs and continue session with tabs |
|
||||||
| \<Leader\>w | N | Remove all trailing whitespace |
|
| Leader+w | N | Remove all trailing whitespace |
|
||||||
| \<Leader\>A | N+V | Align comments in document/selection |
|
| Leader+A | N+V | Align comments in document/selection |
|
||||||
| \<Leader\>a | N+V | Align comments following non-comments in document/selection |
|
| Leader+a | N+V | Align comments following non-comments in document/selection |
|
||||||
|
|
||||||
#### GVim ####
|
#### GVim ####
|
||||||
|
|
||||||
| Binding | Mode | Action |
|
| Binding | Mode | Action |
|
||||||
|---------------------|------|----------------------------------|
|
|--------------|------|-----------------------|
|
||||||
| \<Backslash\>\<F1\> | ALL | Toggle the menubar **(gvim)** |
|
| Backslash+F1 | ALL | Toggle the menubar |
|
||||||
| \<Backslash\>\<F2\> | ALL | Toggle the toolbar **(gvim)** |
|
| Backslash+F2 | ALL | Toggle the toolbar |
|
||||||
| \<Backslash\>\<F3\> | ALL | Toggle the scrollbars **(gvim)** |
|
| Backslash+F3 | ALL | Toggle the scrollbars |
|
||||||
|
|
||||||
### Complete Reference ###
|
### Complete Reference ###
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ if has('unnamedplus')|set clipboard+=unnamedplus|endif "if exists, use '+' reg
|
||||||
set autoread "track file changes
|
set autoread "track file changes
|
||||||
autocmd CursorHold * checktime "use CursorHold events to trigger checktime
|
autocmd CursorHold * checktime "use CursorHold events to trigger checktime
|
||||||
set conceallevel=2 "enable the conceal feature to hide unnecessary elements
|
set conceallevel=2 "enable the conceal feature to hide unnecessary elements
|
||||||
|
set concealcursor=n "conceal text in the cursor line while in normal mode
|
||||||
|
|
||||||
" Override Filetypes:
|
" Override Filetypes:
|
||||||
runtime bundle.pager/vim-markdown-concealed/ftdetect/mkdc.vim
|
runtime bundle.pager/vim-markdown-concealed/ftdetect/mkdc.vim
|
||||||
|
|
Loading…
Reference in a new issue