Removed spaces between = and added g alias
This commit is contained in:
parent
958e84c7f5
commit
b5066288d1
9
bashrc
9
bashrc
@ -96,6 +96,7 @@ alias .........='k ../../../../../../../..'
|
||||
alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'"
|
||||
alias tux="wemux"
|
||||
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
|
||||
alias g="git $@"
|
||||
function mcl(){ mkdir "$@"&&cl "$@"; }
|
||||
function cl(){ cd "$@" && ls; }
|
||||
function k(){
|
||||
@ -104,8 +105,14 @@ function k(){
|
||||
cd "$@" && ls
|
||||
elif [ "$@" == "-" ] ; then
|
||||
cd - && ls
|
||||
else
|
||||
elif [ -f "$@" ] ; then
|
||||
vim "$@"
|
||||
else
|
||||
echo -n "Create? "
|
||||
read a
|
||||
if [ ! -z $a ] ; then
|
||||
vim "$@"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
complete -f k
|
||||
|
22
vimrc
22
vimrc
@ -45,6 +45,8 @@ nnoremap <Leader>else m"kAelse{<Esc>jo}<Esc>`"v><Esc>
|
||||
nnoremap <Leader>for m"Ofor(){<Esc>jo}<Esc>`"v><Esc>k^wa
|
||||
nnoremap <Leader>while m"Owhile(){<Esc>jo}<Esc>`"v><Esc>k^wa
|
||||
nnoremap <Leader>rm m"kddjddkv<<Esc>`"
|
||||
nnoremap <Leader># O#{{{<Esc>jo#}}}<Esc>kk^a
|
||||
vnoremap <Leader># <Esc>`<O#{{{<Esc>`>o//}}}<Esc>`<k^la
|
||||
nnoremap <Leader>{ O//{{{<Esc>jo//}}}<Esc>kk^la
|
||||
vnoremap <Leader>{ <Esc>`<O//{{{<Esc>`>o//}}}<Esc>`<k^la
|
||||
vnoremap <Leader>if <Esc>`<Oif(){<Esc>`>o}<Esc>gv><Esc>`<k^wa
|
||||
@ -86,13 +88,13 @@ vnoremap < <gv
|
||||
vnoremap > >gv
|
||||
inoremap <F1> <nop>
|
||||
vnoremap <F1> <nop>
|
||||
noremap <Leader><Tab> :ls<CR>:b
|
||||
nnoremap <leader>== yyPv$r=jyypv$r=
|
||||
nnoremap <leader>** yyPv$r*jyypv$r*
|
||||
nnoremap <leader>= yypv$r=
|
||||
nnoremap <leader>- yypv$r-
|
||||
nnoremap <leader>^ yypv$r^
|
||||
nnoremap <leader>" yypv$r"
|
||||
nnoremap <Leader><Tab> :ls<CR>:b
|
||||
nnoremap <Leader>== yyPv$r=jyypv$r=
|
||||
nnoremap <Leader>** yyPv$r*jyypv$r*
|
||||
nnoremap <Leader>= yypv$r=
|
||||
nnoremap <Leader>- yypv$r-
|
||||
nnoremap <Leader>^ yypv$r^
|
||||
nnoremap <Leader>" yypv$r"
|
||||
inoremap '' ''<Left>
|
||||
inoremap "" ""<Left>
|
||||
inoremap () ()<Left>
|
||||
@ -144,7 +146,7 @@ set backup
|
||||
set backupdir=~/.vim/backup
|
||||
set directory=~/.vim/tmp
|
||||
set undolevels=1000
|
||||
set history=200
|
||||
set history=500
|
||||
set ttyfast
|
||||
set ff=unix
|
||||
set encoding=utf-8
|
||||
@ -169,12 +171,12 @@ let g:airline#extensions#whitespace#show_message = 0
|
||||
let g:airline#extensions#tmuxline#enabled=1
|
||||
let g:formatprg_cpp="astyle"
|
||||
let g:formatprg_args_expr_cpp=" --mode=c --style=1tbs -xe -k1 -j"
|
||||
let g:syntastic_java_javac_classpath = "/Applications/Android Studio.app/sdk/platforms/android-19/*.jar"
|
||||
let g:syntastic_java_javac_classpath="/Applications/AndroidStudio.app/sdk/platforms/android-19/*.jar:/home:/home/stonewareslord/applications/adk/sdk/platforms/android-20/*.jar:/home/stonewareslord/AndroidstudioProjects/NCState/app/src/main/bin/classes"
|
||||
" These flags don't work for some reason
|
||||
" -xn -xc -xl -S
|
||||
"let g:airline#extensions#tabline#enabled=1
|
||||
let g:Powerline_symbols='fancy'
|
||||
let g:indent_guides_start_level=2
|
||||
let g:indent_guides_start_level=1
|
||||
let g:indent_guides_guide_size=1
|
||||
let g:indent_guides_enable_on_vim_startup=1
|
||||
let g:neocomplcache_enable_at_startup=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user