Changes tmux prefix and updates vimrc
This commit is contained in:
		
							parent
							
								
									662c668c48
								
							
						
					
					
						commit
						62cabc2e99
					
				
					 2 changed files with 34 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,5 +1,9 @@
 | 
				
			||||||
source-file "${HOME}/makersquare/tmux-themepack/powerline/block/green.tmuxtheme"
 | 
					source-file "${HOME}/makersquare/tmux-themepack/powerline/block/green.tmuxtheme"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					unbind C-b
 | 
				
			||||||
 | 
					set -g prefix C-a
 | 
				
			||||||
 | 
					bind C-a send-prefix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bind-key -r -T prefix k select-pane -U
 | 
					bind-key -r -T prefix k select-pane -U
 | 
				
			||||||
bind-key -r -T prefix j select-pane -D
 | 
					bind-key -r -T prefix j select-pane -D
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -75,6 +75,35 @@ set wildmenu
 | 
				
			||||||
set showcmd
 | 
					set showcmd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Code folding
 | 
				
			||||||
 | 
					set foldmethod=indent
 | 
				
			||||||
 | 
					set foldnestmax=10
 | 
				
			||||||
 | 
					set nofoldenable
 | 
				
			||||||
 | 
					set foldlevel=4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Opens all folds within the buffer
 | 
				
			||||||
 | 
					nnoremap ZZ zR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Closes all folds within the buffer
 | 
				
			||||||
 | 
					nnoremap zz zM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Opens all folds beneath the cursor
 | 
				
			||||||
 | 
					" NOTE: j is the character to go down
 | 
				
			||||||
 | 
					nnoremap zJ zO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Opens single fold beneath the cursor
 | 
				
			||||||
 | 
					" NOTE: j is the character to go down
 | 
				
			||||||
 | 
					nnoremap zj zo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Opens single fold beneath the cursor
 | 
				
			||||||
 | 
					" NOTE: k is the character to go down
 | 
				
			||||||
 | 
					nnoremap zK zC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Opens single fold beneath the cursor
 | 
				
			||||||
 | 
					" NOTE: k is the character to go down
 | 
				
			||||||
 | 
					nnoremap zk zc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Changes <leader> to <space> character.
 | 
					" Changes <leader> to <space> character.
 | 
				
			||||||
let mapleader = " "
 | 
					let mapleader = " "
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -100,7 +129,6 @@ set backspace=indent,eol,start
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Javascript specific variables
 | 
					" Javascript specific variables
 | 
				
			||||||
let g:javascript_plugin_jsdoc = 1
 | 
					let g:javascript_plugin_jsdoc = 1
 | 
				
			||||||
" set foldmethod=syntax
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
" GlobalListchars
 | 
					" GlobalListchars
 | 
				
			||||||
set list
 | 
					set list
 | 
				
			||||||
| 
						 | 
					@ -172,6 +200,7 @@ nnoremap <leader>bq :bp <BAR> bd #<CR>
 | 
				
			||||||
" make Y do what is intuitive given: 
 | 
					" make Y do what is intuitive given: 
 | 
				
			||||||
"   D: deletes until EOL
 | 
					"   D: deletes until EOL
 | 
				
			||||||
"   C: changes until EOL
 | 
					"   C: changes until EOL
 | 
				
			||||||
 | 
					"   Y: (should) yank until EOL
 | 
				
			||||||
nnoremap Y y$
 | 
					nnoremap Y y$
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue