nixos/home: improve vim
This commit is contained in:
		
							parent
							
								
									3e44bcc52f
								
							
						
					
					
						commit
						fd01cf370c
					
				|  | @ -33,7 +33,6 @@ | |||
| 		figlet | ||||
| 		tmux | ||||
| 		w3m | ||||
| 		#neovim | ||||
| 		wget | ||||
| 		xh | ||||
| 		minio-client | ||||
|  |  | |||
|  | @ -49,7 +49,6 @@ | |||
| 		bmon | ||||
| 		figlet | ||||
| 		tmux | ||||
| 		neovim | ||||
| 		xh | ||||
| 		liboping | ||||
| 		mtr | ||||
|  | @ -60,11 +59,22 @@ | |||
| 		# nice prompt together with grml | ||||
|                 pure-prompt | ||||
| 	]; | ||||
| 	environment.shellAliases = { | ||||
| 		ip = "ip --color"; | ||||
| 		watch = "watch -c"; | ||||
| 		grep = "grep --color=always --exclude-dir=.git"; | ||||
| 		vim = "nvim"; | ||||
| 	}; | ||||
| 
 | ||||
| 	programs.mosh.enable = true; # open firewall | ||||
| 
 | ||||
| 	programs.neovim = { | ||||
| 		enable = true; | ||||
| 		defaultEditor = true; | ||||
| 		configure.customRC = '' | ||||
| 		syntax on | ||||
| 		set number relativenumber | ||||
| 		''; | ||||
| 	}; | ||||
| 
 | ||||
| 	# zsh | ||||
|  | @ -79,11 +89,6 @@ | |||
| 			prompt pure; | ||||
| 		''; | ||||
| 		# promptInit = ""; | ||||
| 		shellAliases = { | ||||
| 			ip = "ip --color"; | ||||
| 			watch = "watch -c"; | ||||
| 			grep = "grep --color=always --exclude-dir=.git"; | ||||
| 		}; | ||||
| 	}; | ||||
| 
 | ||||
| 	# tmux | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue