1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
75e8c32aa5 Neovim terminal win: auto insert mode & no line numbers
When opening a terminal window in neovim with :terminal the terminal
shall start directly in insert mode and shall not have any line numbers

Sources:
* https://vi.stackexchange.com/a/22956
* https://stackoverflow.com/a/63908546
2024-06-11 22:40:15 +02:00
b6c8b2b7de Added lazygit
lazygit is a very cool terminal ui for git commands.

See: https://github.com/jesseduffield/lazygit
2024-06-11 22:20:18 +02:00
2 changed files with 5 additions and 0 deletions

View file

@ -37,6 +37,7 @@
htop htop
btop btop
fd # unnamed dependency for the fuzzy finder fzf fd # unnamed dependency for the fuzzy finder fzf
lazygit
# Network # Network
wireguard-go wireguard-go

View file

@ -336,6 +336,10 @@ map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off " Toggle paste mode on and off
map <leader>pp :setlocal paste!<cr> map <leader>pp :setlocal paste!<cr>
" Always switch to insert mode for terminal window and disable
" line numbers
autocmd TermOpen * setlocal nonumber norelativenumber
autocmd TermOpen * startinsert
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions " => Helper functions