···11-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
22-" Maintainer:
33-" Amir Salihefendic — @amix3k
44-"
55-" Awesome_version:
66-" Get this config, nice color schemes and lots of plugins!
77-"
88-" Install the awesome version from:
99-"
1010-" https://github.com/amix/vimrc
1111-"
1212-" Sections:
1313-" -> General
1414-" -> VIM user interface
1515-" -> Colors and Fonts
1616-" -> Files and backups
1717-" -> Text, tab and indent related
1818-" -> Visual mode related
1919-" -> Moving around, tabs and buffers
2020-" -> Status line
2121-" -> Editing mappings
2222-" -> vimgrep searching and cope displaying
2323-" -> Spell checking
2424-" -> Misc
2525-" -> Helper functions
2626-"
2727-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
2828-2929-301"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
312" => General
323"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
···47184819" Fast saving
4920nmap <leader>w :w!<cr>
2121+2222+" for adding morning notes to notes.md
2323+nmap <leader>m Go<esc>:put =strftime(\"%Y-%m-%d\")<cr>o----------------<cr><esc>
50245125" :W sudo saves the file
5226" (useful for handling the permission-denied error)
···316290"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
317291" => Misc
318292"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
319319-" Remove the Windows ^M - when the encodings gets messed up
320320-noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
321321-322293" Quickly open a buffer for scribble
323294map <leader>q :e ~/buffer<cr>
324295