small pixel drawing of a pufferfish dotfiles

note autorefresh, shortcut for morning
j3s j3s@c3f.net
Fri, 12 Mar 2021 13:48:57 -0600
commit

ebfd1726867bdddb10330447694cdbd89b887d59

parent

0526c62c5e141f60ccee77056d690333046c7ced

2 files changed, 4 insertions(+), 33 deletions(-)

jump to
M .vimrc.vimrc

@@ -1,32 +1,3 @@

-""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Maintainer: -" Amir Salihefendic — @amix3k -" -" Awesome_version: -" Get this config, nice color schemes and lots of plugins! -" -" Install the awesome version from: -" -" https://github.com/amix/vimrc -" -" Sections: -" -> General -" -> VIM user interface -" -> Colors and Fonts -" -> Files and backups -" -> Text, tab and indent related -" -> Visual mode related -" -> Moving around, tabs and buffers -" -> Status line -" -> Editing mappings -" -> vimgrep searching and cope displaying -" -> Spell checking -" -> Misc -" -> Helper functions -" -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => General """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

@@ -47,6 +18,9 @@ let mapleader = ","

" Fast saving nmap <leader>w :w!<cr> + +" for adding morning notes to notes.md +nmap <leader>m Go<esc>:put =strftime(\"%Y-%m-%d\")<cr>o----------------<cr><esc> " :W sudo saves the file " (useful for handling the permission-denied error)

@@ -316,9 +290,6 @@

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Misc """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Remove the Windows ^M - when the encodings gets messed up -noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm - " Quickly open a buffer for scribble map <leader>q :e ~/buffer<cr>
M bin/nbin/n

@@ -4,5 +4,5 @@ # Open notes file & take notes

mkdir /tmp/notelock 2> /dev/null || exit 1 notefile="$HOME/Sync/notes.md" -vim "+normal G" "$notefile" +vim "+normal G" '+:set autoread' '+ au CursorHold,CursorHoldI * checktime' "$notefile" rmdir /tmp/notelock