commit b63a1158cb818cda099d03ea913a80355baecea5 (tree)
parent 542d23c35b0a2b48f5b75f1d954a5f974a324110
Author: Motiejus Jakštys <motiejus@uber.com>
Date: Fri, 13 Dec 2019 18:50:28 -0800
vim and bashrc
- vim: set nojs
- vim: \\
- hosts: remove, not used.
Diffstat:
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/bash/.profile_motiejus b/bash/.profile_motiejus
@@ -14,6 +14,9 @@ export GOPATH=$HOME/.gopath
export USE_SYSTEM_GO=1
export CLUSTODSN=postgresql://clusto:clusto@127.0.0.1:5432/clusto
export GO111MODULE=on
+export LDA_ENABLED=0
+
+ulimit -Sn 10240
for path in \
$HOME/bin \
@@ -56,5 +59,3 @@ alias cerberus='cerberus --zone phx2 --no-status-page'
alias grep='/usr/local/bin/ggrep'
alias vim=/usr/local/bin/vim
alias vimdiff=/usr/local/bin/vimdiff
-
-alias hosts='cat $HOME/x/hosts'
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
@@ -1,12 +1,15 @@
syntax on
filetype plugin indent on
set et ts=4 sw=4 nu hlsearch ruler ignorecase smartcase nomodeline bg=dark incsearch
-set path=**/* grepprg=rg\ --vimgrep grepformat^=%f:%l:%c:%m backspace=2
+set path=**/* grepprg=rg\ --vimgrep grepformat^=%f:%l:%c:%m backspace=2 nojs
if has("patch-8.1-0360")
set diffopt+=algorithm:patience
endif
+" uh oh, truly custom mappings
+nnoremap <Leader>\ gqj
+
" inspired by vim-sensible
set autoindent smarttab nrformats-=octal
" Use <C-L> to clear the highlighting of :set hlsearch.