Skip to content

Theses are my personal preferences for programs like vim and tmux.

Notifications You must be signed in to change notification settings

RogueRaider/personal_configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

personal_configs

Theses are my personal preferences for programs like vim and tmux.

vim

Movement

zz Move page to have cursor in the middle of the screen

zt Move page to have cursor at the top of the screen

Splits

:split :s Split window horisontally

:vs Split window vertically

:20vs . 20 character wide vertical split opening the file manager of the current directory

Registers

"0p In normal and visual modes, pastes the contents of the register 0

"*p Pastes the contents of the clipboard

Window Management

CTL + w Window management

CTL + w, h/j/k/l Switch window cursor as indicated by directions keys

CTL + w, w Switch to next window

CTL + w, o Close all windows except the one currently selected

CTL + w, c Close current window

Terminal

:term Open terminal

Explorer

:Explorer :E Open file explorer

Spelling

:set spell spelllang=en_au Turn on spelling highlighting with Australian region

:set nospell Turn off spelling highlighting

]s Next highlighted spelling error

[s Previous highlighted spelling error

z= See options for misspelt word

zg Add to dictionary

zw Mark word as incorrect. Highlight futher instances of this word.

markdown

Markdown plugin provided by plasitcboy/vim-markdown

folds

zr reduces fold level throughout the buffer

zR opens all folds

zm increases fold level throughout the buffer

zM folds everything all the way

za open a fold your cursor is on

zA open a fold your cursor is on recursively

zc close a fold your cursor is on

zC close a fold your cursor is on recursively

navigation

ge open the link under the cursor in Vim for editing. Useful for relative markdown links. Markdown_EditUrlUnderCursor The rules for the cursor position are the same as the gx command.

]] go to next header. Markdown_MoveToNextHeader

[[ go to previous header. Contrast with ]c. Markdown_MoveToPreviousHeader

][ go to next sibling header if any. Markdown_MoveToNextSiblingHeader

[ go to previous sibling header if any. Markdown_MoveToPreviousSiblingHeader

]c go to Current header. Markdown_MoveToCurHeader

]u go to parent header (Up). Markdown_MoveToParentHeader

About

Theses are my personal preferences for programs like vim and tmux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published