WIP
Project description
f2dv.vimrc
broot
enter
|right
|]
: browse down / edit fileleft
|h
|[
: browse upw
: set working dir to selection:cd <path>
|:z <path>
: set working dir to<path>
:$ <command>
: run shell command:v <path>
: open vym at<path>
e
: edit file/dir distraction-freen
: new empty filey
: open vym at pwdv
: open vym at selectiont
: new terminal at selectiong
: only show files with a git status=
: show diff/status of selected file/dir-
: stage/unstage selected file`
: show terminal/
: start searchs
: sort by typer
: sort by dateF5
: refreshq
: quit
staging
i
: add/remove selection to/from staging areau
: clear staging areao
: toggle staging area visibilityp
: focus on right panelq
|<ESC>
: close focused panel:$ echo $1
: run command for each staged path
search options: https://dystroy.org/broot/input/#the-filtering-pattern
amix.vimrc
,
: leader key:W
: force save as sudo/
|<space>
: start search*
|#
: (visual-mode) search for selected text,<enter>
: clear search highlightgt
/gT
: jump to next/prev tabgt#
: jump to tab#
,tn
: new tab,tc
: close tab,to
: close other tabs,tm
: move tab,tl
: jump to last-accessed tab,te
: open a new tab with current path,cd
: chdir to parent of current file,pp
: toggle paste-mode,ss
: toggle spell check,sn
: jump to next spelling issue,sp
: jump to prev spelling issue,sa
: add word to dictionary,s?
: show spelling suggestions,dss
: toggle repeated word highlight (Ditto)
FZF
C+P
: map search (fzf)C+Y
: snippet search (fzf + ultisnips),bb
: buffer search (fzf),hh
: help search (fzf),ff
: file search (fzf),ft
: show file tree (nerdtree),fs
: content search (ripgrep),rg
: content search (ripgrep)
Use
<Tab>
to add search results to vim's quickfix.
C+Y
: view snippets,x
: edit snippets
To pass visual selection to snippet:
- make selection
- press
<Tab>
- expand desired snippet
Within FZF
-
Alt+a
: select all -
Alt+d
: deselect all -
<enter>
|C+t
: open selection(s) in new tab(s) -
C+x
: open selection(s) split below -
C+v
: open selection(s) split right -
C+q
: add selection(s) to vim's quickfix -
C+jk
: navigate results -
C+<Up><Down>
: navigate preview
vim-visual-multi (multi-cursor)
C+Down
: Add cursor belowC+Up
: Add cursor aboveC+n
: Add cursor at next matchC+m
: Add cursor to all matchesC+\
: Add cursor to all regex search matches
Press <Tab>
to cycle between cursor- and multi-visual mode.
cs-surround
S"
: (visual-mode) surround selected text with"
cs'"
: change enclosing"
to'
ds"
: delete enclosing"
ysiw"
: surround text object with"
(iw
is text object)yss"
: surround line with"
vim-markdown
gx
: open link under cursor in web browser]]
: jump to next header[[
: jump to prev header]h
: jump to current header]u
: jump to parent header:Toc
: show table of contents:InsertToc #
: insert ToC with depth#
:InsertNToc #
: insert ToC (numbered) with depth#
:TableFormat
: format markdown table
Custom Mappings
,itc
: insert table of contents,itc#
: insert table of contents with depth#
,ntc
: insert table of contents (numbered),ntc#
: insert table of contents (numbered) with depth#
,tbf
: table format
Syntax | Description |
---|---|
Header | Title |
Paragraph | Text |
,mdp
: open markdown preview
goyo + limelight
,ee
: toggle goyo,ll
: toggle limelight
git-gutter / fugitive
,ggg
: git log,ggs
: git status,ggb
: git blame,ggt
: toggle git-gutter,ggh
: toggle diff highlights,ggr
: refresh all signs,ggz
: fold unchanged lines,ggd
: show diffs in vimdiff,gg]
: show next hunk,gg[
: show prev hunk,gga
: add current hunk to stage (:w
changes in new buffer),ggx
: undo current hunk,ggq
: file hunk's to quickfixyid
,yad
: yank changed hunk (i.e., yank diff)
Other
,nn
: toggle line numbers,mm
: toggle minimap (minimap.vim)C+/
: toggle comments (nerdcommenter)U
: toggle undo-tree (UndoTree)
floaterm
,tt
: toggle floating terminal (floaterm),tr
: toggle floating broot (floaterm),tv
: show terminal on right,tb
: show terminal on bottom
ale
TODO
,pds
: create python docstring,pdt
: create python docstring, with types
quickfix
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vym-0.0.1a2.tar.gz
(44.8 kB
view details)
Built Distribution
vym-0.0.1a2-py3-none-any.whl
(47.8 kB
view details)
File details
Details for the file vym-0.0.1a2.tar.gz
.
File metadata
- Download URL: vym-0.0.1a2.tar.gz
- Upload date:
- Size: 44.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c42654f85bbe4efc936e3498e5b6becf163ef7fb38e720f25194b682cb87c70 |
|
MD5 | 7ae8963c1659a571e29df009deb2fd74 |
|
BLAKE2b-256 | d070c651b6d71c274a4fc5b6f16a60bd0479629d46b2a80a11fa90b2fb8e93c6 |
File details
Details for the file vym-0.0.1a2-py3-none-any.whl
.
File metadata
- Download URL: vym-0.0.1a2-py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc65ade789b756f19a9d3a64b73d551b55119d9e8f9ffe4e5963f3046221f46 |
|
MD5 | 56cacb816af4d8b95e2c8b1cf9e7850f |
|
BLAKE2b-256 | 38737b03fbec0dacbf3eb390f5fd47c09a4e5f1dfb1724943d0a885adeae9933 |