From 051d9793e1dfb5318d50aa415a01792ac42469f3 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 31 May 2021 02:13:49 -0700 Subject: some things have changed in the past seven years --- bashrc | 1 + gitconfig | 2 ++ vimrc | 12 +++++++----- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/bashrc b/bashrc index badfe3a..a6633df 100644 --- a/bashrc +++ b/bashrc @@ -33,6 +33,7 @@ fi export EDITOR=vim export HISTSIZE=50000 +export QUOTING_STYLE=literal rbpm() { source <(~/dev/rbpm/rbpm.sh "${@}"); } diff --git a/gitconfig b/gitconfig index ae1b2df..21ad0c8 100644 --- a/gitconfig +++ b/gitconfig @@ -5,3 +5,5 @@ editor = vim [push] default = simple +[pull] + ff = only diff --git a/vimrc b/vimrc index bc42f7c..57a2a76 100644 --- a/vimrc +++ b/vimrc @@ -8,7 +8,7 @@ colorscheme inkpot filetype on syntax on -filetype plugin on +filetype plugin indent on set wrap set nocompatible @@ -20,9 +20,11 @@ set showcmd set ttyfast set autoindent -set smartindent set shiftwidth=4 +set softtabstop=4 set tabstop=4 +"set textwidth=79 +set cinoptions=(s,U1 set ignorecase set incsearch @@ -31,6 +33,6 @@ set scrolloff=4 set foldenable -autocmd FileType haml setlocal expandtab tabstop=2 shiftwidth=2 -autocmd FileType ruby setlocal expandtab tabstop=2 shiftwidth=2 textwidth=79 -autocmd FileType sh setlocal expandtab +autocmd FileType haml setlocal sw=2 sts=2 ts=2 et +autocmd FileType ruby setlocal sw=2 sts=2 ts=2 et +autocmd FileType sh setlocal et -- cgit v1.2.3-70-g09d2