" Apparently the following enables alt to work in vim. Source: https://stackoverflow.com/questions/6778961/alt-key-shortcuts-not-working-on-gnome-terminal-with-vim "let c='a' "while c <= 'z' "exec "set =\e".c "exec "imap \e".c." " "let c = nr2char(1+char2nr(c)) "endw "set timeout ttimeoutlen=50 " Initialized 2023-06-29 from https://github.com/romgrk/barbar.nvim " " " " " Move to previous/next nnoremap BufferPrevious nnoremap BufferPrevious nnoremap BufferPrevious nnoremap BufferPrevious nnoremap BufferPrevious nnoremap BufferNext nnoremap BufferNext nnoremap BufferNext nnoremap BufferNext nnoremap BufferNext " Re-order to previous/next nnoremap BufferMovePrevious nnoremap > BufferMoveNext " Goto buffer in position... nnoremap BufferGoto 1 nnoremap BufferGoto 2 nnoremap BufferGoto 3 nnoremap BufferGoto 4 nnoremap BufferGoto 5 nnoremap BufferGoto 6 nnoremap BufferGoto 7 nnoremap BufferGoto 8 nnoremap BufferGoto 9 nnoremap BufferLast " Pin/unpin buffer nnoremap BufferPin " Close buffer nnoremap BufferClose " Restore buffer nnoremap BufferRestore " Wipeout buffer " :BufferWipeout " Close commands " :BufferCloseAllButCurrent " :BufferCloseAllButVisible " :BufferCloseAllButPinned " :BufferCloseAllButCurrentOrPinned " :BufferCloseBuffersLeft " :BufferCloseBuffersRight " Magic buffer-picking mode nnoremap BufferPick nnoremap BufferPickDelete " Sort automatically by... nnoremap bb BufferOrderByBufferNumber nnoremap bd BufferOrderByDirectory nnoremap bl BufferOrderByLanguage nnoremap bw BufferOrderByWindowNumber " Other: " :BarbarEnable - enables barbar (enabled by default) " :BarbarDisable - very bad command, should never be used