Changed my config from a mixture of vimscript and lua to fully lua. I also changed from Plug to Lazy, although I don't ustelise the full featureset of Lazy, yet. I made telescope an integral part of my workflow, relying less on vimtree for file navigation. Needs the font LigaSauceCodePro NF to be installed on the system when using neovide. For the terminal, the used font should be a nerdfont.
Leader is <space>
- move between windows with
<c-j>,<c-h>,<c-k>,<c-l> <c-right>next buffer<c-left>previous buffer<m-b>telescope navigation through buffer<m-left>next tab<m-right>previous tab<m-up>create new tab<m-down>close tab<m-t>toggle terminal
Use cursor keys in command mode to resize the windows
<c-n>open treeview side bar<m-p>open telescope file browser<m-p>grep in current directory<leader>cdcd into the parent directory of current active buffer
:Configopen telescope with all the config files:BuffOnlyclose all buffers except the active one.
<m-c>accept copilot suggestion<m-[>previous suggestion<m-]>next suggestion
<m-r>in visual mode, opens telescope to chose refactor option
:Gitor:Gto execute a git command
Special neovide settings for copy/paste
<leader>ccopy from clipboard in visual mode<m-v>paste from clipboard
There is a convenience command to activate a virtualenv in the current active directory. For this create a virtualenv in the root of your project:
python -m venv venv
and then run the command Virtualenv in neovim if your root directory is your
active directory. The command will search for the directory 'venv' there to
activate the virtualenv.