Some haiku about using the mouse
- Confucious probably
This is the premier config for the discerning Mouse Heretic seeking to use AstroNvim!.
- Have all the familiar keyboard shortcuts from VScode/Sublimetext (prefer
Ctrl
and Arrow keys over old and outdated vimkeys) - Make MouseMenu a first class citizen
ctrl + x
andctrl + v
: cut and paste everywherectrl + shift + up/down
: moves a line or the selection up or downshift + arrow keys
: moves to SELECT mode and keeps drawing a highlightctrl + shift + left/right
: same but jumps words instead of just characters
ctrl + leftclick
: is goto definitionctrl + shift + -
: goback from definition
ctrl + p
: open up a command palette of sorts (:Telescope keymaps
)ctrl + z
: undoctrl + shift + z
: redotab
: indent line or selectionshift + tab
: unindent line or selectionctrl + space
: autocomplete menu
ctrl + p
: Work out how to merge:Telescope keymaps
with:Telescope :commands
ctrl + \
: work out how to bind this to AstroNvims comment/uncomment feature
The goal is to have a MouseMenu for all the relevant above items and more.
Currently there is a menu for NeoTree.
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
git clone [email protected]:airtonix/mouse-peasant.nvim.git ~/.config/nvim/lua/user
nvim