diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-12-03 11:52:48 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-12-03 11:52:48 +0100 |
commit | 264b48ff259714217ed0c056a99d038dde872249 (patch) | |
tree | a53b29cbdcb898f056d898a2289e36b46c8e98c5 | |
parent | bcd3e89a1144f23a95f11e0243fedb2b7c1eaab9 (diff) |
Increase tmux scrollback
-rwxr-xr-x | mutt/.mutt/filter | 5 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 2 | ||||
-rw-r--r-- | tmux/.tmux.conf | 30 | ||||
-rw-r--r-- | vim/.vimrc | 4 |
4 files changed, 23 insertions, 18 deletions
diff --git a/mutt/.mutt/filter b/mutt/.mutt/filter new file mode 100755 index 0000000..dcf5600 --- /dev/null +++ b/mutt/.mutt/filter @@ -0,0 +1,5 @@ +#!/bin/bash + +TEXT=$(cat) +HTML=$(pandoc -s -f markdown -t html --webtex -H "$HOME"/.mutt/pandoc.html <<< "$TEXT") +sed 's/<br \/>\(.*\)<br \/>/<span class="math display">\1<\/span>/g' <<< "$HTML" diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index f78b7cb..1595175 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -100,4 +100,4 @@ set reverse_name alternates ".*@vaes.uk" # HTML email -macro compose 5 "$HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" +macro compose 5 "F $HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index a32b9ec..e250d1e 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,31 +1,27 @@ -set -g default-terminal "screen-256color" -set -g status on -set -g mouse on - unbind C-b -set -g prefix C-s -bind s send-prefix - unbind r -bind r source-file ~/.tmux.conf - -set -sg escape-time 0 -set -g allow-rename off +bind r source-file ~/.tmux.conf +bind s send-prefix bind C-n next-window bind C-p previous-window - bind -n C-Left previous-window bind -n C-Right next-window +bind P swap-window -t -1 +bind N swap-window -t +1 -bind-key P swap-window -t -1 -bind-key N swap-window -t +1 +set -sg escape-time 0 +set -g prefix C-s +set -g status on +set -g mouse on +set -g allow-rename off +set -g history-limit 10000 +set -g default-terminal "screen-256color" +set -g pane-border-status off # Alternative: top/bottom/... +set -g pane-border-format "#{pane_current_command}" PILOT_IGNORE= PILOT_BOUNDARY=ignore PILOT_MODE=wintab PILOT_ROOT=$HOME/Dropbox/projects/vim-wintab source-file $PILOT_ROOT/pilot.tmux - -set -g pane-border-status off # Alternative: top/bottom/... -set -g pane-border-format "#{pane_current_command}" @@ -172,6 +172,7 @@ if executable('pyls') let g:LanguageClient_serverCommands = { 'python': ['pyls'], } endif +let g:LanguageClient_diagnosticsEnable = 0 nnoremap <silent> <leader>lh :call LanguageClient#textDocument_hover()<CR> nnoremap <silent> <leader>ld :call LanguageClient#textDocument_definition()<CR> nnoremap <silent> <leader>lr :call LanguageClient#textDocument_rename()<CR> @@ -381,6 +382,9 @@ inoreabbrev <expr> #!! "#!/usr/bin/env" . (empty(&filetype) ? '' : ' '.&filetype " Spell inoremap <c-s> <esc>1z=eA +" Projectionist +nnoremap ,e :E + " Unimpaired nmap co yo |