From 1d500d606443c2d76f562390b5b259615937d1f3 Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 19 Apr 2019 09:59:31 +0200 Subject: Fixed error when opening normal vim, and added tigrc --- dwm/lc | 7 +++++-- mixed/.tigrc | 2 ++ vim/.vimrc | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 mixed/.tigrc diff --git a/dwm/lc b/dwm/lc index dadf470..a53aa6d 100755 --- a/dwm/lc +++ b/dwm/lc @@ -1,7 +1,7 @@ #!/bin/bash -Commands="update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat" -statScripts="ram.sh status.sh net.sh mathiasServerPlayers.sh" +Commands="update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat mic" +statScripts="ram.sh status.sh net.sh mic.sh" handle_stuff() { if [ "$1" = "--dmenu" ]; then @@ -52,6 +52,9 @@ handle_stuff() { if [ "$1" = "wall" ]; then feh --bg-fill Pictures/defaultWall.* fi + if [ "$1" = "mic" ]; then + amixer set Capture toggle + fi # Launch if [ "$1" = "vi" ] || [ "$1" = "vim" ]; then diff --git a/mixed/.tigrc b/mixed/.tigrc new file mode 100644 index 0000000..a41a7f4 --- /dev/null +++ b/mixed/.tigrc @@ -0,0 +1,2 @@ + +bind status C !git commit -S diff --git a/vim/.vimrc b/vim/.vimrc index d895e78..4c97986 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -55,7 +55,9 @@ set noexpandtab let g:tex_flavor='latex' -set inccommand=split +if has('nvim') + set inccommand=split +endif " Required for operations modifying multiple buffers like rename. set hidden -- cgit v1.2.3