From 370270feb9a0bd29aa174c429f602e20e290fd65 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Tue, 24 Jan 2017 17:27:44 +0100 Subject: [PATCH] Small nice things Signed-off-by: Tomas Slusny --- .gitmodules | 3 +++ README.md | 1 + dotfiles/zshrc | 2 ++ lib/vim/bclose.vim | 1 + lib/vim/vim-snippets | 2 +- 5 files changed, 8 insertions(+), 1 deletion(-) create mode 160000 lib/vim/bclose.vim diff --git a/.gitmodules b/.gitmodules index e0bbdf90..5b81ba26 100644 --- a/.gitmodules +++ b/.gitmodules @@ -91,3 +91,6 @@ [submodule "lib/shell/zim"] path = lib/shell/zim url = https://github.com/Eriner/zim/ +[submodule "lib/vim/bclose.vim"] + path = lib/vim/bclose.vim + url = https://github.com/chrismccord/bclose.vim diff --git a/README.md b/README.md index cca67abc..08a67b72 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ git clone https://github.com/ervandew/supertab.git $DOTHOME/usr/vim/supertab ### Vim * [base16-vim](https://github.com/chriskempson/base16-vim): Base16 for Vim + * [bclose.vim](https://github.com/chrismccord/bclose.vim): Delete a buffer without closing the window * [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim): EditorConfig plugin for Vim * [fzf.vim](https://github.com/junegunn/fzf.vim): fzf :heart: vim * [pathogen.vim](https://github.com/tpope/vim-pathogen): Manage your runtimepath diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 09cff430..8506b441 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -34,6 +34,8 @@ # Super cool gource alias (requires gource) alias gource="gource --key --stop-at-end -i 0 --highlight-dirs --highlight-all-users --max-file-lag 0.5" + # Hastebin fast share + haste() { a=$(cat); curl -X POST -s -d "$a" http://hastebin.com/documents | awk -F '"' '{print "http://hastebin.com/"$4}'; } # }}} # Plugins {{{ diff --git a/lib/vim/bclose.vim b/lib/vim/bclose.vim new file mode 160000 index 00000000..3129bc5c --- /dev/null +++ b/lib/vim/bclose.vim @@ -0,0 +1 @@ +Subproject commit 3129bc5cc0c3f0295eeafb2f1e8c0d17bc7ab1bf diff --git a/lib/vim/vim-snippets b/lib/vim/vim-snippets index acfd5938..6a4247e7 160000 --- a/lib/vim/vim-snippets +++ b/lib/vim/vim-snippets @@ -1 +1 @@ -Subproject commit acfd5938d623b81145f65cd0b42861a49c05cc4e +Subproject commit 6a4247e7ca2a4d5522df40c42357dd7df38ad8ee