Add functions to vimrc and basrc
This commit is contained in:
parent
ef9a24e063
commit
1a052f1d98
6
.bashrc
6
.bashrc
|
@ -125,3 +125,9 @@ export GEM_PATH="$HOME/gems:"
|
|||
|
||||
export PATH="$PATH:$GEM_HOME/bin/:"
|
||||
|
||||
# shortcut for creating and chaging to a directory
|
||||
function mkd() {
|
||||
mkdir "$1"
|
||||
cd "$1"
|
||||
}
|
||||
|
||||
|
|
9
.vimrc
9
.vimrc
|
@ -254,3 +254,12 @@ nnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR>
|
|||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||
inoremap <expr> <cr> pumvisible() ? "\<C-y>\<cr>" : "\<cr>"
|
||||
|
||||
" Put these lines at the very end of your vimrc file.
|
||||
"
|
||||
" Load all plugins now.
|
||||
" Plugins need to be added to runtimepath before helptags can be generated.
|
||||
packloadall
|
||||
" Load all of the helptags now, after plugins have been loaded.
|
||||
" All messages and errors will be ignored.
|
||||
silent! helptags ALL
|
||||
|
|
Loading…
Reference in New Issue