From 3abaadecd53f81a765d0c966b5a732eb95ef2971 Mon Sep 17 00:00:00 2001 From: Christopher Joslyn Date: Sun, 13 May 2018 18:08:50 -0400 Subject: [PATCH] Remove unused configurations --- vimrc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/vimrc b/vimrc index a497b64..8e61b16 100644 --- a/vimrc +++ b/vimrc @@ -190,11 +190,7 @@ cmap w!! %!sudo tee > /dev/null % " Clear the last used search pattern nmap hc :let @/ = '' -" Pretty print one-liner curl requests -nmap cu :.s/ -H/\\\r -H/g - " Shortcut common directory exploration commands -nmap x :Ex nmap v :Vex nmap s :Sex @@ -204,19 +200,6 @@ augroup plugin-devdocs autocmd FileType javascript,html nmap K (devdocs-under-cursor) augroup END -" Browse the current file in bitbucket and scroll to the current line -" Requires: -" - https://bitbucket.org/atlassian/bitbucket-server-cli -" - https://github.com/tpope/vim-fugitive -function! BrowseBitbucket() - let projectRoot = fnamemodify(fugitive#extract_git_dir("%"), ":p:h:h") - let relativePath = fnamemodify(expand("%"), ":s?" . projectRoot . "??") - let lineNumber = line(".") - execute '!stash browse browse ' . relativePath . ' -l ' . lineNumber . ' -b $(git rev-parse HEAD)' -endfunction -command! BB :call BrowseBitbucket() -nmap bb :call BrowseBitbucket() - " Load project specific vimrc configurations " From http://www.ilker.de/specific-vim-settings-per-project.html " Not yet verified as working