X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/a83671e3f434d9ddc226feb23ecc7332aade3223..3e61607bcfae666eb08f6b3941ca91a4281544de:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index c1632f9..b2e40ae 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -629,6 +629,9 @@ nnoremap ww :Untrail " Source vnoremap S y:execute @@:echo 'Sourced selection.' nnoremap S ^vg_y:execute @@:echo 'Sourced line.' +" Technically this is similar to execute this file, which is usually mapped to +" r and it would make sense to have that for lua files in nvim folder +nnoremap SS :source %:echo 'Sourced file.' " jump to last cursor position noremap ' ` @@ -831,6 +834,9 @@ nmap cog IndentGuidesToggle nmap [og IndentGuidesEnable nmap ]og IndentGuidesDisable +" netrw {{{2 +let g:netrw_sort_sequence = '[\/]$,\.\%(h\|hpp\)$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$' + " signature {{{2 " disable '[ mappings