From 9839f18733accd4cf908323e9417de8f0c799e27 Mon Sep 17 00:00:00 2001 From: Brad Date: Wed, 1 May 2019 17:19:06 -0500 Subject: [PATCH] fixed conflicts (LOL merge -s ours; push -f) Former-commit-id: 594e40f661d2f7ba66dbc84b472c98d977031404 --- Arch/.bashrc | 5 ++++- Arch/.vimrc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/Arch/.bashrc b/Arch/.bashrc index 88e789e..9f5e4b2 100644 --- a/Arch/.bashrc +++ b/Arch/.bashrc @@ -4,7 +4,9 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return - +if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then + exec tmux -2 attach-session || tmux -2 new-session +fi alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' alias sudo='sudo ' @@ -219,3 +221,4 @@ haste(){ chromium http://hastebin.com/$key fi } + diff --git a/Arch/.vimrc b/Arch/.vimrc index 7833dd9..17847d0 100644 --- a/Arch/.vimrc +++ b/Arch/.vimrc @@ -1,3 +1,63 @@ +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +" alternatively, pass a path where Vundle should install plugins +"call vundle#begin('~/some/path/here') + +" let Vundle manage Vundle, required +Plugin 'VundleVim/Vundle.vim' +" Track the engine. +Plugin 'SirVer/ultisnips' + +" Snippets are separated from the engine. Add this if you want them: +Plugin 'honza/vim-snippets' + +" Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" + +" If you want :UltiSnipsEdit to split your window. +let g:UltiSnipsEditSplit="vertical" + + +" The following are examples of different formats supported. +" Keep Plugin commands between vundle#begin/end. +" plugin on GitHub repo +"Plugin 'tpope/vim-fugitive' +" plugin from http://vim-scripts.org/vim/scripts.html +" Plugin 'L9' +" Git plugin not hosted on GitHub +"Plugin 'git://git.wincent.com/command-t.git' +" git repos on your local machine (i.e. when working on your own plugin) +"Plugin 'file:///home/gmarik/path/to/plugin' +" The sparkup vim script is in a subdirectory of this repo called vim. +" Pass the path to set the runtimepath properly. +"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} +" Install L9 and avoid a Naming conflict if you've already installed a +" different version somewhere else. +" Plugin 'ascenator/L9', {'name': 'newL9'} + +" All of your Plugins must be added before the following line +call vundle#end() " required +filetype plugin indent on " required +" To ignore plugin indent changes, instead use: +"filetype plugin on +" +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal +" +" see :h vundle for more details or wiki for FAQ +" Put your non-Plugin stuff after this line + + + let mapleader = "-" inoremap kj nnoremap h