let mapleader = ',' set ignorecase smartcase "set hlsearch set showmode set scrolloff=5 set history=1000 set surround set incsearch set relativenumber set smartcase set hlsearch " clear the search buffer when hitting return nnoremap / :nohlsearch " To copy text to the end-of-line, press Y. " This mapping sets up Y to be consistent with " the C and D operators, which act from the cursor " to the end of the line. The default behavior of Y " is to yank the whole line. nnoremap Y y$ " Shortcut for escape imap jj " When in normal mode and I hit Enter, " then save file please nmap :write " Quick window navigation map j map k map l map h " Shortcut for copying to/from System Clipboard vmap y "+y vmap d "+d nmap p "+p nmap P "+P " Splitting Windows nmap \ :vsplit nmap v :vsplit nmap - :split nmap h :split " Project Shortcuts " ================= " Close Project nmap q :action CloseProject " Some Action commands to memic my native vim " For a list of :action try :actionlist " =========================================== " Hide open panels nmap f :action HideAllWindows " Open Global Find Dialog box nmap f :action FindInPath " Open recent project dialog box nmap p :action ManageRecentProjects " Mapping to mimic BufferExplorer nmap be :action Switcher " Toggle code minimap nmap m :action CodeGlance.toggle " Nerdtree want to be nmap nt :action ActivateProjectToolWindow "Coding Formating " =============== nnoremap cf :action ReformatCode " XDebug Shortcuts nmap xl :action PhpListenDebugAction nmap bp :action ToggleLineBreakpoint " Jump to Source nmap ] :action XDebugger.JumpToSource " Some Git Shortcuts for view status, pull, and branches " Mapping mimic Fugitive in my native vim nmap gs :action ChangesView.Commit nmap gc :action ChangesView.Commit nmap ga :action Git.Add nmap gp :action Git.Pull nmap gb :action Annotate nmap gl :action Git.Log nmap go :action Github.Open.In.Browser nmap br :action Git.Branches " View my customize Quicklist nmap l :action QuickList.MyQuickList " AceJump Plugin - Jump to Character nmap w :action AceJumpAction " Commenting nmap c :action CommentByLineComment nmap cs :action CommentByBlockComment nmap rt :action Refactorings.QuickListPopupAction "nmap csw' :action Macro.surround_with_single_quote " Move visual block vnoremap J :m '>+1gv=gv vnoremap K :m '<-2gv=gv " Put search results in the middle of the screen nnoremap n nzz nnoremap N Nzz " Laravel Mappings " ================ " Open and edit routes file nmap lr :e app/Http/routes.php nmap lca :e config/app.php nmap lcd :e config/database.php nmap lc :e composer.json nmap le :e .env