From d8ad9bcee44f478e6f69af71bb19b5aa89bea1c7 Mon Sep 17 00:00:00 2001 From: clean Date: Tue, 17 Jan 2017 01:18:59 -0600 Subject: [PATCH] First commit - WIP --- .gitmodules | 9 + com.googlecode.iterm2.plist | 1093 +++++++++++++++++++++++++++++++++++ init.sh | 31 + iterm-dracula | 1 + tmux.conf | 29 + tpm | 1 + vimrc | 144 +++++ zshrc | 13 + 8 files changed, 1321 insertions(+) create mode 100644 .gitmodules create mode 100644 com.googlecode.iterm2.plist create mode 100644 init.sh create mode 160000 iterm-dracula create mode 100644 tmux.conf create mode 160000 tpm create mode 100644 vimrc create mode 100644 zshrc diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d435554 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "iterm"] + path = iterm + url = https://github.com/dracula/iterm.git +[submodule "iterm-dracula"] + path = iterm-dracula + url = https://github.com/dracula/iterm.git +[submodule "tpm"] + path = tpm + url = https://github.com/tmux-plugins/tpm.git diff --git a/com.googlecode.iterm2.plist b/com.googlecode.iterm2.plist new file mode 100644 index 0000000..c7f4919 --- /dev/null +++ b/com.googlecode.iterm2.plist @@ -0,0 +1,1093 @@ + + + + + AppleAntiAliasingThreshold + 1 + AppleScrollAnimationEnabled + 0 + AppleSmoothFixedFontsSizeThreshold + 1 + Custom Color Presets + + Dracula + + Ansi 0 Color + + Blue Component + 0.0 + Green Component + 0.0 + Red Component + 0.0 + + Ansi 1 Color + + Blue Component + 0.3333333432674408 + Green Component + 0.3333333432674408 + Red Component + 1 + + Ansi 10 Color + + Blue Component + 0.4823529411764706 + Green Component + 0.98039215686274506 + Red Component + 0.31372549019607843 + + Ansi 11 Color + + Blue Component + 0.5490196078431373 + Green Component + 0.98039215686274506 + Red Component + 0.94509803921568625 + + Ansi 12 Color + + Blue Component + 0.97647058823529409 + Green Component + 0.57647058823529407 + Red Component + 0.74117647058823533 + + Ansi 13 Color + + Blue Component + 0.77647058823529413 + Green Component + 0.47450980392156861 + Red Component + 1 + + Ansi 14 Color + + Blue Component + 0.99215686274509807 + Green Component + 0.9137254901960784 + Red Component + 0.54509803921568623 + + Ansi 15 Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Ansi 2 Color + + Blue Component + 0.4823529411764706 + Green Component + 0.98039215686274506 + Red Component + 0.31372549019607843 + + Ansi 3 Color + + Blue Component + 0.5490196078431373 + Green Component + 0.98039215686274506 + Red Component + 0.94509803921568625 + + Ansi 4 Color + + Blue Component + 0.97647058823529409 + Green Component + 0.57647058823529407 + Red Component + 0.74117647058823533 + + Ansi 5 Color + + Blue Component + 0.77647058823529413 + Green Component + 0.47450980392156861 + Red Component + 1 + + Ansi 6 Color + + Blue Component + 0.99215686274509807 + Green Component + 0.9137254901960784 + Red Component + 0.54509803921568623 + + Ansi 7 Color + + Blue Component + 0.73333334922790527 + Green Component + 0.73333334922790527 + Red Component + 0.73333334922790527 + + Ansi 8 Color + + Blue Component + 0.33333333333333331 + Green Component + 0.33333333333333331 + Red Component + 0.33333333333333331 + + Ansi 9 Color + + Blue Component + 0.33333333333333331 + Green Component + 0.33333333333333331 + Red Component + 1 + + Background Color + + Blue Component + 0.15977837145328522 + Green Component + 0.12215272337198257 + Red Component + 0.11765811592340469 + + Bold Color + + Blue Component + 0.90237069129943848 + Green Component + 0.90237069129943848 + Red Component + 0.90237069129943848 + + Cursor Color + + Blue Component + 0.73333334922790527 + Green Component + 0.73333334922790527 + Red Component + 0.73333334922790527 + + Cursor Text Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Foreground Color + + Blue Component + 0.90032327175140381 + Green Component + 0.90032327175140381 + Red Component + 0.90032327175140381 + + Selected Text Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Selection Color + + Blue Component + 0.35294118523597717 + Green Component + 0.27843138575553894 + Red Component + 0.26666668057441711 + + + + Default Bookmark Guid + 3CBFEB53-F87B-486A-83BB-AE567702D465 + GlobalKeyMap + + 0x19-0x60000 + + Action + 11 + Text + 0x02 0x70 + + 0x9-0x40000 + + Action + 11 + Text + 0x02 0x6E + + 0xf700-0x300000 + + Action + 7 + Text + + + 0xf701-0x300000 + + Action + 6 + Text + + + 0xf702-0x300000 + + Action + 2 + Text + + + 0xf702-0x320000 + + Action + 33 + Text + + + 0xf703-0x300000 + + Action + 0 + Text + + + 0xf703-0x320000 + + Action + 34 + Text + + + 0xf729-0x100000 + + Action + 5 + Text + + + 0xf72b-0x100000 + + Action + 4 + Text + + + 0xf72c-0x100000 + + Action + 9 + Text + + + 0xf72c-0x20000 + + Action + 9 + Text + + + 0xf72d-0x100000 + + Action + 8 + Text + + + 0xf72d-0x20000 + + Action + 8 + Text + + + + HotkeyMigratedFromSingleToMulti + + LoadPrefsFromCustomFolder + + NSNavLastRootDirectory + ~/dotfiles + NSNavPanelExpandedSizeForOpenMode + {712, 448} + NSQuotedKeystrokeBinding + + NSRepeatCountBinding + + NSScrollAnimationEnabled + + NSScrollViewShouldScrollUnderTitlebar + + NSTableView Columns v2 KeyBingingTable + + YnBsaXN0MDDUAQIDBAUGNjdYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS + AAGGoK4HCA8aGxwdHh8gJjAxMlUkbnVsbNIJCgsOWk5TLm9iamVjdHNWJGNsYXNzogwN + gAKACoAN0xAJChEVGVdOUy5rZXlzoxITFIADgASABaMWFxiABoAHgAiACVpJZGVudGlm + aWVyVVdpZHRoVkhpZGRlblEwI0BowAAAAAAACNIhIiMkWiRjbGFzc25hbWVYJGNsYXNz + ZXNcTlNEaWN0aW9uYXJ5oiMlWE5TT2JqZWN00xAJCicrGaMSExSAA4AEgAWjLC0YgAuA + DIAIgAlRMSNAdCGdsi0OVtIhIjM0Xk5TTXV0YWJsZUFycmF5ozM1JVdOU0FycmF5XxAP + TlNLZXllZEFyY2hpdmVy0Tg5VUFycmF5gAEACAARABoAIwAtADIANwBGAEwAUQBcAGMA + ZgBoAGoAbABzAHsAfwCBAIMAhQCJAIsAjQCPAJEAnACiAKkAqwC0ALUAugDFAM4A2wDe + AOcA7gDyAPQA9gD4APwA/gEAAQIBBAEGAQ8BFAEjAScBLwFBAUQBSgAAAAAAAAIBAAAA + AAAAADoAAAAAAAAAAAAAAAAAAAFM + + NSTableView Sort Ordering v2 KeyBingingTable + + YnBsaXN0MDDUAQIDBAUGFBVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS + AAGGoKMHCA1VJG51bGzSCQoLDFpOUy5vYmplY3RzViRjbGFzc6CAAtIODxARWiRjbGFz + c25hbWVYJGNsYXNzZXNeTlNNdXRhYmxlQXJyYXmjEBITV05TQXJyYXlYTlNPYmplY3Rf + EA9OU0tleWVkQXJjaGl2ZXLRFhdVQXJyYXmAAQgRGiMtMjc7QUZRWFlbYGt0g4ePmKqt + swAAAAAAAAEBAAAAAAAAABgAAAAAAAAAAAAAAAAAAAC1 + + NSTableView Supports v2 KeyBingingTable + + NSWindow Frame SharedPreferences + 30 232 958 433 0 0 1440 877 + NSWindow Frame iTerm Window 0 + 19 71 890 577 0 0 1440 877 + NSWindow Frame iTerm Window 1 + 297 151 890 577 0 0 1440 877 + NSWindow Frame iTerm Window 2 + 436 70 890 577 0 0 1440 877 + New Bookmarks + + + ASCII Anti Aliased + + Ambiguous Double Width + + Ansi 0 Color + + Blue Component + 0.0 + Green Component + 0.0 + Red Component + 0.0 + + Ansi 1 Color + + Blue Component + 0.3333333432674408 + Green Component + 0.3333333432674408 + Red Component + 1 + + Ansi 10 Color + + Blue Component + 0.4823529411764706 + Green Component + 0.98039215686274506 + Red Component + 0.31372549019607843 + + Ansi 11 Color + + Blue Component + 0.5490196078431373 + Green Component + 0.98039215686274506 + Red Component + 0.94509803921568625 + + Ansi 12 Color + + Blue Component + 0.97647058823529409 + Green Component + 0.57647058823529407 + Red Component + 0.74117647058823533 + + Ansi 13 Color + + Blue Component + 0.77647058823529413 + Green Component + 0.47450980392156861 + Red Component + 1 + + Ansi 14 Color + + Blue Component + 0.99215686274509807 + Green Component + 0.9137254901960784 + Red Component + 0.54509803921568623 + + Ansi 15 Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Ansi 2 Color + + Blue Component + 0.4823529411764706 + Green Component + 0.98039215686274506 + Red Component + 0.31372549019607843 + + Ansi 3 Color + + Blue Component + 0.5490196078431373 + Green Component + 0.98039215686274506 + Red Component + 0.94509803921568625 + + Ansi 4 Color + + Blue Component + 0.97647058823529409 + Green Component + 0.57647058823529407 + Red Component + 0.74117647058823533 + + Ansi 5 Color + + Blue Component + 0.77647058823529413 + Green Component + 0.47450980392156861 + Red Component + 1 + + Ansi 6 Color + + Blue Component + 0.99215686274509807 + Green Component + 0.9137254901960784 + Red Component + 0.54509803921568623 + + Ansi 7 Color + + Blue Component + 0.73333334922790527 + Green Component + 0.73333334922790527 + Red Component + 0.73333334922790527 + + Ansi 8 Color + + Blue Component + 0.33333333333333331 + Green Component + 0.33333333333333331 + Red Component + 0.33333333333333331 + + Ansi 9 Color + + Blue Component + 0.33333333333333331 + Green Component + 0.33333333333333331 + Red Component + 1 + + BM Growl + + Background Color + + Blue Component + 0.15977837145328522 + Green Component + 0.12215272337198257 + Red Component + 0.11765811592340469 + + Background Image Location + + Badge Color + + Alpha Component + 0.5 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.1491314172744751 + Red Component + 1 + + Blinking Cursor + + Blur + + Bold Color + + Blue Component + 0.90237069129943848 + Green Component + 0.90237069129943848 + Red Component + 0.90237069129943848 + + Character Encoding + 4 + Close Sessions On End + + Columns + 80 + Command + /usr/local/bin/zsh + Cursor Boost + 0.0 + Cursor Color + + Blue Component + 0.73333334922790527 + Green Component + 0.73333334922790527 + Red Component + 0.73333334922790527 + + Cursor Guide Color + + Alpha Component + 0.058823529411764705 + Blue Component + 1 + Color Space + sRGB + Green Component + 1 + Red Component + 1 + + Cursor Text Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Custom Command + No + Custom Directory + No + Default Bookmark + No + Description + Default + Disable Window Resizing + + Flashing Bell + + Foreground Color + + Blue Component + 0.90032327175140381 + Green Component + 0.90032327175140381 + Red Component + 0.90032327175140381 + + Guid + 3CBFEB53-F87B-486A-83BB-AE567702D465 + Horizontal Spacing + 1 + Idle Code + 0 + Jobs to Ignore + + rlogin + ssh + slogin + telnet + + Keyboard Map + + 0x2d-0x40000 + + Action + 11 + Text + 0x1f + + 0x32-0x40000 + + Action + 11 + Text + 0x00 + + 0x33-0x40000 + + Action + 11 + Text + 0x1b + + 0x34-0x40000 + + Action + 11 + Text + 0x1c + + 0x35-0x40000 + + Action + 11 + Text + 0x1d + + 0x36-0x40000 + + Action + 11 + Text + 0x1e + + 0x37-0x40000 + + Action + 11 + Text + 0x1f + + 0x38-0x40000 + + Action + 11 + Text + 0x7f + + 0xf700-0x220000 + + Action + 10 + Text + [1;2A + + 0xf700-0x240000 + + Action + 10 + Text + [1;5A + + 0xf700-0x260000 + + Action + 10 + Text + [1;6A + + 0xf700-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x41 + + 0xf701-0x220000 + + Action + 10 + Text + [1;2B + + 0xf701-0x240000 + + Action + 10 + Text + [1;5B + + 0xf701-0x260000 + + Action + 10 + Text + [1;6B + + 0xf701-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x42 + + 0xf702-0x220000 + + Action + 10 + Text + [1;2D + + 0xf702-0x240000 + + Action + 10 + Text + [1;5D + + 0xf702-0x260000 + + Action + 10 + Text + [1;6D + + 0xf702-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x44 + + 0xf703-0x220000 + + Action + 10 + Text + [1;2C + + 0xf703-0x240000 + + Action + 10 + Text + [1;5C + + 0xf703-0x260000 + + Action + 10 + Text + [1;6C + + 0xf703-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x43 + + 0xf704-0x20000 + + Action + 10 + Text + [1;2P + + 0xf705-0x20000 + + Action + 10 + Text + [1;2Q + + 0xf706-0x20000 + + Action + 10 + Text + [1;2R + + 0xf707-0x20000 + + Action + 10 + Text + [1;2S + + 0xf708-0x20000 + + Action + 10 + Text + [15;2~ + + 0xf709-0x20000 + + Action + 10 + Text + [17;2~ + + 0xf70a-0x20000 + + Action + 10 + Text + [18;2~ + + 0xf70b-0x20000 + + Action + 10 + Text + [19;2~ + + 0xf70c-0x20000 + + Action + 10 + Text + [20;2~ + + 0xf70d-0x20000 + + Action + 10 + Text + [21;2~ + + 0xf70e-0x20000 + + Action + 10 + Text + [23;2~ + + 0xf70f-0x20000 + + Action + 10 + Text + [24;2~ + + 0xf729-0x20000 + + Action + 10 + Text + [1;2H + + 0xf729-0x40000 + + Action + 10 + Text + [1;5H + + 0xf72b-0x20000 + + Action + 10 + Text + [1;2F + + 0xf72b-0x40000 + + Action + 10 + Text + [1;5F + + + Link Color + + Alpha Component + 1 + Blue Component + 0.73423302173614502 + Color Space + sRGB + Green Component + 0.35916060209274292 + Red Component + 0.0 + + Mouse Reporting + + Name + Default + Non Ascii Font + Monaco 12 + Non-ASCII Anti Aliased + + Normal Font + FiraCode-Regular 18 + Option Key Sends + 0 + Prompt Before Closing 2 + + Right Option Key Sends + 0 + Rows + 25 + Screen + -1 + Scrollback Lines + 1000 + Selected Text Color + + Blue Component + 1 + Green Component + 1 + Red Component + 1 + + Selection Color + + Blue Component + 0.35294118523597717 + Green Component + 0.27843138575553894 + Red Component + 0.26666668057441711 + + Send Code When Idle + + Shortcut + + Silence Bell + + Smart Cursor Color + + Sync Title + + Tags + + Terminal Type + xterm-256color + Transparency + 0.0 + Unlimited Scrollback + + Use Bold Font + + Use Bright Bold + + Use Cursor Guide + + Use Italic Font + + Use Non-ASCII Font + + Vertical Spacing + 1 + Visual Bell + + Window Type + 0 + Working Directory + /Users/clean + + + NoSyncHaveWarnedAboutPasteConfirmationChange + + NoSyncInstallationId + 8FD26FF7-1B8C-4187-9B85-F5B954050646 + NoSyncNeverRemindPrefsChangesLostForFile + + NoSyncNeverRemindPrefsChangesLostForFile_selection + 0 + NoSyncNewWindowOrTabFromTmuxOpensTmux + + NoSyncNewWindowOrTabFromTmuxOpensTmux_selection + 0 + NoSyncTimeOfFirstLaunchOfVersionWithTip + 504956337.093835 + OnlyWhenMoreTabs + + OpenTmuxWindowsIn + 0 + PMPrintingExpandedStateForPrint2 + + PointerActions + + Button,1,1,, + + Action + kContextMenuPointerAction + + Button,2,1,, + + Action + kPasteFromSelectionPointerAction + + Gesture,ThreeFingerSwipeDown,, + + Action + kPrevWindowPointerAction + + Gesture,ThreeFingerSwipeLeft,, + + Action + kPrevTabPointerAction + + Gesture,ThreeFingerSwipeRight,, + + Action + kNextTabPointerAction + + Gesture,ThreeFingerSwipeUp,, + + Action + kNextWindowPointerAction + + + PrefsCustomFolder + /Users/clean/dotfiles + Print In Black And White + + PromptOnQuit + + SUEnableAutomaticChecks + + SUFeedAlternateAppNameKey + iTerm + SUFeedURL + https://iterm2.com/appcasts/final.xml?shard=84 + SUHasLaunchedBefore + + SULastCheckTime + 2017-01-01T09:39:35Z + SUSendProfileInfo + + WordCharacters + /-+\~_. + iTerm Version + 3.0.20161231-nightly + kCPKSelectionViewPreferredModeKey + 0 + kCPKSelectionViewShowHSBTextFieldsKey + + + diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..9b2ae24 --- /dev/null +++ b/init.sh @@ -0,0 +1,31 @@ +#!/bin/bash +echo "-= Creating necessary directories =-" +mkdir -p ~/.config ~/.config/nvim + +echo "-= Installing System Dependencies =-" +brew install zsh tmux neovim/neovim/neovim python3 ag +brew tap caskroom/cask +brew cask install iterm2 + +echo "-= Installing Fonts =-" +brew tap caskroom/fonts +brew cask install font-fira-code + +echo "-= Assigning Zsh as Default Shell =-" +chsh -s $(which zsh) + +echo "-= Upgrading NeoVim with Python =-" +pip3 install neovim + +echo "-= Setting Zsh as default shell =-" +chsh -s /usr/local/bin/zsh + +echo "-= Removing any existing configs =-" +rm ~/.zshrc ~/.tmux.conf ~/.config/nvim/init.vim 2> /dev/null + +echo "-= Symlinking new configs =-" +ln -s ~/dotfiles/zshrc ~/.zshrc +ln -s ~/dotfiles/tmux.conf ~/.tmux.conf +ln -s ~/dotfiles/vimrc ~/.config/nvim/init.vim + +echo "-= Log out and Log Back In to see changes =-" diff --git a/iterm-dracula b/iterm-dracula new file mode 160000 index 0000000..ae1db14 --- /dev/null +++ b/iterm-dracula @@ -0,0 +1 @@ +Subproject commit ae1db14ee36f452c6d03611dc18635d4862ad155 diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..5f501f3 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,29 @@ +# Configure Tabs +set -g base-index 1 +set -g pane-base-index 1 +set -g renumber-windows on +bind-key -n C-t new-window +bind-key -n C-T new-window -c "#{pane_current_path}" +bind-key -n C-w kill-pane + +# Panes +bind \ split-window -h +bind | split-window -h -c '#{pane_current_path}' +bind - split-window +bind _ split-window -c '#{pane_current_path}' + +# Theme +set -g @themepack 'block/yellow' + +# Fix System Clipboard +set -g default-shell $SHELL +set -g default-command 'reattach-to-user-namespace -l ${SHELL}' + +# Plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'jimeh/tmux-themepack' +set -g @plugin 'christoomey/vim-tmux-navigator' + +# Initialize Tmux Plugin Manager (TPM) +run '~/dotfiles/tpm/tpm' diff --git a/tpm b/tpm new file mode 160000 index 0000000..0ea31ae --- /dev/null +++ b/tpm @@ -0,0 +1 @@ +Subproject commit 0ea31ae2d624413719e97dc7e138ed6cf749c7d2 diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..f1756e5 --- /dev/null +++ b/vimrc @@ -0,0 +1,144 @@ +set encoding=utf8 + +" Stop word wrapping +set nowrap +" Except... on Makrdown. That's good stuff. +autocmd FileType markdown setlocal wrap + +" Adjust system undo levels +set undolevels=100 + +" Use system clipboard +set clipboard=unnamed + +" Set tab width and convert tabs to spaces +set tabstop=2 +set softtabstop=2 +set shiftwidth=2 +set expandtab + +" Don't let Vim hide characters or make loud dings +set conceallevel=1 +set noerrorbells + +" Number gutter with relative line numbers +" Relative lines encourage smarter movements in vim +set number +set relativenumber + +" Use search highlighting +set hlsearch + +" Space above/beside cursor from screen edges +set scrolloff=1 +set sidescrolloff=5 + +" Disable mouse support +set mouse=r +let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1 + +" Plugins with vim-plug +if empty(glob('~/.vim/autoload/plug.vim')) + silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall | source $MYVIMRC +endif + +call plug#begin('~/.vim/plugged') + +" Required +Plug 'Shougo/unite.vim' + +" Visuals +Plug 'dracula/vim' +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +Plug 'Yggdroot/indentLine' +Plug 'airblade/vim-gitgutter' + +" Navigating Project Files +Plug 'ctrlpvim/ctrlp.vim', { 'on': 'CtrlP' } +Plug 'mhinz/vim-grepper' +Plug 'Shougo/vimfiler.vim', { 'on': 'VimFiler' } + +" Languages +Plug 'pangloss/vim-javascript' +Plug 'helino/vim-json' + +" Code Editing +Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } +Plug 'w0rp/ale' + +" Movement +Plug 'justinmk/vim-sneak' + +call plug#end() + + +" Configuration + +" Theme: Dracula +color dracula + +" vim-airline +let g:airline#extensions#tabline#enabled=1 +let g:airline_powerline_fonts=1 +set laststatus=2 + +" indentLine +let g:indentLine_enabled = 1 +let g:indentLine_char = "⟩" + +" Leader +let mapleader="\" + +" Return to last opened file +nmap + +" adding empty lines +nnoremap [ :put! =repeat(nr2char(10), v:count1)'[ +nnoremap ] :put =repeat(nr2char(10), v:count1) + +" moving current line +nnoremap m[ :execute 'move -1-'. v:count1 +nnoremap m] :execute 'move +'. v:count1 + +" arrow keys resize pane +nnoremap :vertical resize -1 +nnoremap :vertical resize +1 +nnoremap :resize -1 +nnoremap :resize +1 +" disable arrow keys in insert mode +imap +imap +imap +imap + +" Grepper +nnoremap fp :Grepper-query +nnoremap fb :Grepper-buffers-query- + +" File Buffer +nnoremap :bnext! +nnoremap :bprev! + +" Fuzzy Finder +nnoremap p :CtrlP +nnoremap t :CtrlP + +" vimfiler +map ` :VimFiler -explorer +map ~ :VimFilerCurrentDir -explorer -find + +" deoplete +let g:deoplete#enable_at_startup = 1 +inoremap pumvisible() ? "\" : "\" + +" sneak +let g:sneak#s_next = 1 +nmap f Sneak_f +nmap F Sneak_F +xmap f Sneak_f +xmap F Sneak_F +omap f Sneak_f +omap F Sneak_F diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..2c001c3 --- /dev/null +++ b/zshrc @@ -0,0 +1,13 @@ +autoload colors zsh/terminfo +colors + +precmd() { print "" } + +PS1="⟩" +RPS1="%{$fg[magenta]%}%20<...<%~%<<%{$reset_color%}" + +# Auto start tmux +if [ "$TMUX" = "" ]; then tmux; fi + +# Auto CD +setopt auto_cd