Skip to content

Instantly share code, notes, and snippets.

@andoniabedul
Created April 5, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andoniabedul/7c8de00c0f7ea094ecff7331c226d39d to your computer and use it in GitHub Desktop.
Save andoniabedul/7c8de00c0f7ea094ecff7331c226d39d to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'amiorin/vim-project'
Plugin 'mattn/emmet-vim'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'flazz/vim-colorschemes'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'rainglow/vim'
Plugin 'prettier/vim-prettier'
Plugin 'pangloss/vim-javascript'
Plugin 'jimmyhchan/dustjs.vim'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
call project#rc("~/corte-ingles/")
Project 'moonshine' , 'moonshine'
Project 'geci.js' , 'geci.js'
Project 'moonshine2' , 'moonshine2'
:cd ~/corte-ingles/
" vim-project configuration
let g:project_enable_welcome = 1
" if you want the NERDTree integration.
let g:project_use_nerdtree = 1
" Position of NERDTree
let g:NERDTreeWinPos = "left"
" FZF use silver searcher
let $FZF_DEFAULT_COMMAND='ag -g ""'
let g:NERDTreeMinimalUI = 1
let g:NERDTreeDirArrows = 1
let g:NERDTreeChDirMode = 2
filetype plugin on
map ; :Files <CR>
map <C-b> :NERDTreeToggle<CR>
vmap <Tab> >gv
vmap <S-Tab> <gv
nnoremap <Leader>o :Files<CR>
nnoremap <Tab> <Esc>
vnoremap <Tab> <Esc>gV
onoremap <Tab> <Esc>
inoremap <Tab> <Esc>`^
inoremap <Leader><Tab> <Tab>
set rtp+=~/.vim/bundle/vim-project/
set backspace=indent,eol,start
set linespace=0
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
set autoindent
set selectmode=mouse
set showmatch
set laststatus=2
set number
set undolevels=5000
set history=50
set wrap
set cursorline
set textwidth=80
set splitbelow
set wrapmargin=30
au BufNewFile,BufRead *.less set filetype=less
au BufNewFile,BufRead *.dust set filetype=dustjs
au BufNewFile,BufRead *.vue set filetype=vue
" General configurations
colorscheme solarflare-contrast
set rtp+=~/.fzf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment