my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

note autorefresh, shortcut for morning

j3s ebfd1726 0526c62c

+4 -33
+3 -32
.vimrc
··· 1 - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 - " Maintainer: 3 - " Amir Salihefendic — @amix3k 4 - " 5 - " Awesome_version: 6 - " Get this config, nice color schemes and lots of plugins! 7 - " 8 - " Install the awesome version from: 9 - " 10 - " https://github.com/amix/vimrc 11 - " 12 - " Sections: 13 - " -> General 14 - " -> VIM user interface 15 - " -> Colors and Fonts 16 - " -> Files and backups 17 - " -> Text, tab and indent related 18 - " -> Visual mode related 19 - " -> Moving around, tabs and buffers 20 - " -> Status line 21 - " -> Editing mappings 22 - " -> vimgrep searching and cope displaying 23 - " -> Spell checking 24 - " -> Misc 25 - " -> Helper functions 26 - " 27 - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 28 - 29 - 30 1 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 31 2 " => General 32 3 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" ··· 47 18 48 19 " Fast saving 49 20 nmap <leader>w :w!<cr> 21 + 22 + " for adding morning notes to notes.md 23 + nmap <leader>m Go<esc>:put =strftime(\"%Y-%m-%d\")<cr>o----------------<cr><esc> 50 24 51 25 " :W sudo saves the file 52 26 " (useful for handling the permission-denied error) ··· 316 290 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 317 291 " => Misc 318 292 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 319 - " Remove the Windows ^M - when the encodings gets messed up 320 - noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm 321 - 322 293 " Quickly open a buffer for scribble 323 294 map <leader>q :e ~/buffer<cr> 324 295
+1 -1
bin/n
··· 4 4 5 5 mkdir /tmp/notelock 2> /dev/null || exit 1 6 6 notefile="$HOME/Sync/notes.md" 7 - vim "+normal G" "$notefile" 7 + vim "+normal G" '+:set autoread' '+ au CursorHold,CursorHoldI * checktime' "$notefile" 8 8 rmdir /tmp/notelock