more tweaks, new coding indentation :<
This commit is contained in:
parent
2b4f4d2b0a
commit
d20a38be4d
2 changed files with 7 additions and 6 deletions
2
bashrc
2
bashrc
|
@ -159,6 +159,8 @@ if [[ -n ${comp_enabled} && -r ${completion_path} ]]; then
|
||||||
source ${completion_path}
|
source ${completion_path}
|
||||||
fi
|
fi
|
||||||
if [[ -n ${git_enabled} && -r ${git_prompt_path} ]]; then
|
if [[ -n ${git_enabled} && -r ${git_prompt_path} ]]; then
|
||||||
|
GIT_PROMPT_FETCH_REMOTE_STATUS=0
|
||||||
|
GIT_PROMPT_SHOW_UPSTREAM=1
|
||||||
GIT_PROMPT_ONLY_IN_REPO=1
|
GIT_PROMPT_ONLY_IN_REPO=1
|
||||||
source ${git_prompt_path}
|
source ${git_prompt_path}
|
||||||
# theme overrides
|
# theme overrides
|
||||||
|
|
11
vimrc
11
vimrc
|
@ -17,10 +17,11 @@ set sidescrolloff=15
|
||||||
set sidescroll=1
|
set sidescroll=1
|
||||||
" disable bell
|
" disable bell
|
||||||
set noerrorbells visualbell t_vb=
|
set noerrorbells visualbell t_vb=
|
||||||
" indentation
|
" indentation_RIP
|
||||||
set shiftwidth=3
|
"set shiftwidth=3 tabstop=3 noexpandtab
|
||||||
set tabstop=3
|
" indentation_OK
|
||||||
set noexpandtab
|
set tabstop=3 softtabstop=4 shiftwidth=4 colorcolumn=81 smarttab expandtab
|
||||||
|
|
||||||
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
||||||
|
|
||||||
" 256 colours at almost all times
|
" 256 colours at almost all times
|
||||||
|
@ -40,8 +41,6 @@ autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\<nl>\"|$
|
||||||
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python3\<nl>\"|$
|
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python3\<nl>\"|$
|
||||||
autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$
|
autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$
|
||||||
|
|
||||||
autocmd FileType python setlocal softtabstop=4 shiftwidth=4 colorcolumn=80 smarttab expandtab autoindent
|
|
||||||
|
|
||||||
" maps
|
" maps
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
noremap <F1> <Esc>
|
noremap <F1> <Esc>
|
||||||
|
|
Loading…
Reference in a new issue