Skip to content

Commit

Permalink
Updated dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
g-erson committed Oct 2, 2019
1 parent 2c6ca4c commit 9ab128f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .ghci
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
:set prompt2 " | "
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
:set +m
:set -XRankNTypes
:set -XOverloadedStrings

21 changes: 19 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ else
" Completion from other opened files
Plug 'Shougo/context_filetype.vim'
" Python autocompletion
Plug 'zchee/deoplete-jedi',
Plug 'zchee/deoplete-jedi'

"Clever autocompletion
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
" Table mode
Plug 'dhruvasagar/vim-table-mode'
let g:table_mode_corner_corner='+'
let g:table_mode_header_fillchar='='

" Automatically start language servers.
let g:LanguageClient_autoStart = 1
Expand Down Expand Up @@ -73,6 +80,7 @@ Plug 'frigoeu/psc-ide-vim'
Plug 'toyamarinyon/vim-swift'
Plug 'lumiliet/vim-twig'
Plug 'posva/vim-vue'
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}

call plug#end()

Expand All @@ -94,6 +102,14 @@ set cursorline
set autoindent
set smartindent
set shiftround
"=============== Don't forget history when changing buffers =================
set hidden
" or ever...
set undofile
set undodir=$HOME/.vim/undo

set undolevels=1000
set undoreload=10000
"============================ Vue Markup ====================================
let g:vue_disable_pre_processors = 1
au BufNewFile,BufRead *.vue set filetype=vue
Expand Down Expand Up @@ -121,6 +137,7 @@ vnoremap > >gv
vnoremap : :s/\%V
"============================= FZF bindings =================================
command! -bang -nargs=* Ag call fzf#vim#ag(<q-args>, {'options': '--delimiter : --nth 4..'}, <bang>0)
let $FZF_DEFAULT_COMMAND = 'ag -l -g ""'
nnoremap <C-b> :Buffers<CR>
nnoremap <C-p> :FZF<CR>
Expand Down Expand Up @@ -154,7 +171,7 @@ au BufWritePost .nvimrc so ~/.nvimrc

"============================== leader shortcuts ===========================
let mapleader = ","
nnoremap <leader>n :NERDTree<enter>
nnoremap <leader>n :NERDTreeToggle<enter>
nnoremap <leader>s <C-w>s
nnoremap <leader>v <C-w>v
nnoremap <leader>c <C-w>c
Expand Down
3 changes: 2 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ZSH_THEME="refined"
# Add wisely, as too many plugins slow down shell startup.
plugins=(
brew
colored-man
colored-man-pages
colorize
docker
docker-compose
Expand Down Expand Up @@ -171,3 +171,4 @@ if [ -f '/home/george/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/
if [ -f '/home/george/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/george/Downloads/google-cloud-sdk/completion.zsh.inc'; fi

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
source /home/george/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

0 comments on commit 9ab128f

Please sign in to comment.