4437ec2d751b

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 14 Oct 2019 16:13:09 -0400
parents 9af48fd636c1
children b83a98ba30ee
branches/tags (none)
files bin/eq-dotcount vim/vimrc

Changes

--- a/bin/eq-dotcount	Wed Oct 02 12:18:52 2019 -0400
+++ b/bin/eq-dotcount	Mon Oct 14 16:13:09 2019 -0400
@@ -1,3 +1,3 @@
 #!/usr/bin/env bash
 
-grep -Eo 'has taken \d+ damage from your' | cut -d' ' -f3 | awk '{s+=$1} END {print s}' -
+grep -Eo 'has taken \d+ damage from your' | awk '{s+=$3} END {print s}' -
--- a/vim/vimrc	Wed Oct 02 12:18:52 2019 -0400
+++ b/vim/vimrc	Mon Oct 14 16:13:09 2019 -0400
@@ -482,8 +482,12 @@
 imap <c-l> <c-o>gi
 
 " Diff Navigation
-nnoremap dn ]c
-nnoremap dN [c
+nnoremap ]d ]c
+nnoremap [d [c
+
+" Typo navigation
+nnoremap ]z ]S
+nnoremap [z [S
 
 " Insert Mode Completion {{{
 
@@ -1693,6 +1697,7 @@
     au Filetype markdown nnoremap <buffer> <localleader>4 mzI####<space><esc>`zlllll
 
     au Filetype markdown inoremap <buffer> <c-cr> <cr><esc>mz?^ *\*?e<cr>"zy0:noh<cr>`z"zpA* <esc>a
+    au Filetype markdown inoremap <buffer> <s-c-cr> <cr><esc>mz?^ *\*?e<cr>"zy0:noh<cr>`z"zpA  * <esc>a
     au Filetype markdown inoremap <buffer> <s-tab> <esc>mz0xx`za
     au Filetype markdown inoremap <buffer> <c-tab> <esc>mzI  <esc>`zlla
 augroup END
@@ -2013,6 +2018,14 @@
 augroup END
 
 " }}}
+" Terminal {{{
+
+augroup ft_terminal
+    au!
+    au TermOpen * setlocal scrolloff=0
+augroup END
+
+" }}}
 " Vagrant {{{
 
 augroup ft_vagrant