~keving/dotfiles

5a77398a74c2454097b3a75d2f6256629c0f528e — Kevin Guillaumond 1 year, 6 months ago 6c64b2e
Add cds and cdd aliases + fewer abbreviations
2 files changed, 12 insertions(+), 12 deletions(-)

M .bash_aliases
M .vimrc
M .bash_aliases => .bash_aliases +3 -0
@@ 3,6 3,9 @@ alias vi="nvim"
alias ll="ls -lhaG"
alias la='ls -A'

alias cdd="cd ~/.dotfiles"
alias cds="cd ~/src/"

# Shortcuts to parent folders
alias   ..='cd ..'
alias  ...='cd ../../' 

M .vimrc => .vimrc +9 -12
@@ 307,13 307,13 @@ set magic
" Show matching brackets when text indicator is over them
set showmatch 
" How many tenths of a second to blink when matching brackets
set mat=2
set matchtime=2

" No annoying sound on errors
set noerrorbells
set novisualbell
set t_vb=
set tm=500
set timeoutlen=500

" Properly disable sound on errors on MacVim
if has("gui_macvim")


@@ 374,7 374,7 @@ endif
set encoding=utf8

" Use Unix as the standard file type
set ffs=unix,dos,mac
set fileformats=unix,dos,mac

" Highlight one-line comments in JSON files (useful for jsonc files such as coc-settings.json)
autocmd FileType json syntax match Comment +\/\/.\+$+


@@ 383,7 383,7 @@ autocmd FileType json syntax match Comment +\/\/.\+$+
" Files, backups and undo {{{
" Turn backup off and rely on version control instead
set nobackup
set nowb
set nowritebackup
set noswapfile
" }}}



@@ 400,17 400,14 @@ set tabstop=2     " Number of visual spaces per TAB
set softtabstop=2 " Number of spaces per TAB when editing
set shiftround    " Indenting rounds to a multiple of 2 (instead of just changing by 2)

" Linebreak on 500 characters
set lbr
set tw=500

set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines

" Wrap long lines
set linebreak
set colorcolumn=80 " Vertical bar
set textwidth=80   " Wrap automatically

set autoindent
set smartindent
set wrap " Wrap lines
" }}}

" Visual mode {{{