j vim: +fileline ; cosmetics
This commit is contained in:
parent
8db484c879
commit
04bd7e98af
@ -20,7 +20,15 @@ let
|
|||||||
sha256 = "1z3yhhbmbzfw68qjzyvpbmlyv2a1p814sy5q2knn04kcl30vx94a";
|
sha256 = "1z3yhhbmbzfw68qjzyvpbmlyv2a1p814sy5q2knn04kcl30vx94a";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
customPlugins.vim-fileline = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "file-line-1.0";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "bogado";
|
||||||
|
repo = "file-line";
|
||||||
|
rev = "1.0";
|
||||||
|
sha256 = "0z47zq9rqh06ny0q8lpcdsraf3lyzn9xvb59nywnarf3nxrk6hx0";
|
||||||
|
};
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.vim_configurable.customize {
|
(pkgs.vim_configurable.customize {
|
||||||
@ -33,6 +41,8 @@ in {
|
|||||||
setStatements = ''
|
setStatements = ''
|
||||||
set autowrite
|
set autowrite
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
|
set listchars=trail:¶
|
||||||
|
set mouse=a
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set path+=**
|
set path+=**
|
||||||
set ruler
|
set ruler
|
||||||
@ -40,7 +50,6 @@ in {
|
|||||||
set undofile "turn on the feature
|
set undofile "turn on the feature
|
||||||
set wildignore+=*.o,*.class,*.hi,*.dyn_hi,*.dyn_o
|
set wildignore+=*.o,*.class,*.hi,*.dyn_hi,*.dyn_o
|
||||||
set wildmenu
|
set wildmenu
|
||||||
set listchars=trail:¶
|
|
||||||
'';
|
'';
|
||||||
remapStatements = ''
|
remapStatements = ''
|
||||||
imap jk <Esc>
|
imap jk <Esc>
|
||||||
@ -91,13 +100,14 @@ in {
|
|||||||
{ names = [
|
{ names = [
|
||||||
"ctrlp"
|
"ctrlp"
|
||||||
"easymotion"
|
"easymotion"
|
||||||
|
"elm-vim"
|
||||||
|
"vim-fileline"
|
||||||
"molokai"
|
"molokai"
|
||||||
"nerdtree"
|
"nerdtree"
|
||||||
"snipmate"
|
"snipmate"
|
||||||
"surround"
|
"surround"
|
||||||
"Syntastic"
|
"Syntastic"
|
||||||
"undotree"
|
"undotree"
|
||||||
"elm-vim"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{ names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }
|
{ names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user