Last active
January 1, 2020 21:15
-
-
Save Kenshirosan/c457b6202622e9a9d3e13858e4e7943d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible " Latest vim setting and options | |
| so ~/.vim/plugins.vim | |
| let mapleader=',' | |
| set number | |
| "----------VISUALS------------" | |
| colorscheme dracula | |
| "set guifont=FIRA_CODE:h17 mac specifics | |
| set guioptions-=l | |
| set guioptions-=L | |
| set guioptions-=r | |
| set guioptions=R | |
| " set guioptions -=e Mac specifics below | |
| " set macligatures | |
| " | |
| hi vertsplit guifg=bg guibg=bg | |
| "--------- SEARCH-------------" | |
| set hlsearch | |
| "/ | |
| "/ NERDTree | |
| "/ | |
| let NERDTreeHiJackNetrw = 0 | |
| "---------MAPPING------------" | |
| nmap <Leader>ev :tabedit $MYVIMRC<cr> | |
| nmap <Leader><space> :nohlsearch<cr> | |
| "---------Nerdtree-----------" | |
| nmap <Leader>1 :NERDTreeToggle<cr> | |
| nmap <c-R> :CtrlPBufTag<cr> | |
| "---------Laravel snippets---" | |
| nmap <Leader>lr :e routes/web.php<cr> | |
| nmap <Leader>lm :!php artisan make: | |
| nmap <Leader><Leader>c :e app/Http/Controllers/<cr> | |
| nmap <Leader><Leader>m :CtrlP<cr>app/ | |
| nmap <Leader><Leader>v :e resources/views/<cr> | |
| "---------AUTO-COMMAND-------" | |
| "Automatically source the vimrc file on save | |
| augroup autosourcing "Run the command once | |
| autocmd! | |
| autocmd BufWritePost .vimrc source % | |
| augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment