vimrc fix
wow commit number 69
This commit is contained in:
parent
730d59e64b
commit
0ff916700e
3 changed files with 97 additions and 113 deletions
|
|
@ -245,7 +245,7 @@
|
||||||
# Internet
|
# Internet
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
# games
|
# games
|
||||||
osu-lazer-bin
|
osu-lazer-bin pcsx2
|
||||||
# emulation
|
# emulation
|
||||||
# (unstable.bottles.override {removeWarningPopup = true;})
|
# (unstable.bottles.override {removeWarningPopup = true;})
|
||||||
# devel
|
# devel
|
||||||
|
|
@ -363,10 +363,9 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
with pkgs.unstable.vimPlugins; [
|
with pkgs.unstable.vimPlugins; [
|
||||||
gruvbox rainbow literate-vim
|
gruvbox rainbow literate-vim undotree
|
||||||
];
|
];
|
||||||
vim.extraConfig = ''
|
vim.extraConfig = ''
|
||||||
# coyote-home-manager-programs-vim-vimrc
|
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
@ -404,7 +403,6 @@
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
let g:terminal_ansi_colors = ['#282828', '#cc241d', '#98971a', '#d79921', '#458588', '#b16286', '#689d6a', '#a89984', '#928374', '#fb4934', '#b8bb26', '#fabd2f', '#83a598', '#d3869b', '#8ec07c', '#ebdbb2']
|
let g:terminal_ansi_colors = ['#282828', '#cc241d', '#98971a', '#d79921', '#458588', '#b16286', '#689d6a', '#a89984', '#928374', '#fb4934', '#b8bb26', '#fabd2f', '#83a598', '#d3869b', '#8ec07c', '#ebdbb2']
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# coyote-home-manager-programs-fastfetch
|
# coyote-home-manager-programs-fastfetch
|
||||||
|
|
|
||||||
30
nixos.html
30
nixos.html
|
|
@ -796,7 +796,7 @@ home.packages = with pkgs; [
|
||||||
# Internet
|
# Internet
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
# games
|
# games
|
||||||
osu-lazer-bin
|
osu-lazer-bin pcsx2
|
||||||
# emulation
|
# emulation
|
||||||
# (unstable.bottles.override {removeWarningPopup = true;})
|
# (unstable.bottles.override {removeWarningPopup = true;})
|
||||||
# devel
|
# devel
|
||||||
|
|
@ -904,34 +904,23 @@ vim.plugins = let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
with pkgs.unstable.vimPlugins; [
|
with pkgs.unstable.vimPlugins; [
|
||||||
gruvbox rainbow literate-vim
|
gruvbox rainbow literate-vim undotree
|
||||||
];
|
];
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p><code>.vimrc</code> moment...
|
<p><code>.vimrc</code> moment...<br><br>
|
||||||
|
</p>
|
||||||
|
<p>there's really not much, starting with bog-standard Vimscript for sensible
|
||||||
|
options,
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
<span class="codeblock_name">{coyote-home-manager-programs-vim <a href="nixos.html#1:8">8</a>} +=</span>
|
<span class="codeblock_name">{coyote-home-manager-programs-vim <a href="nixos.html#1:8">8</a>} +=</span>
|
||||||
<pre class="prettyprint lang-nix">
|
<pre class="prettyprint lang-nix">
|
||||||
vim.extraConfig = ''
|
vim.extraConfig = ''
|
||||||
<span class="nocode pln"> {coyote-home-manager-programs-vim-vimrc, <a href="nixos.html#1:8">8</a>}</span>
|
|
||||||
'';
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<p>there's really not much, starting with bog-standard Vimscript for sensible
|
|
||||||
options,
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="codeblock">
|
|
||||||
<span class="codeblock_name">{coyote-home-manager-programs-vim-vimrc <a href="nixos.html#1:8">8</a>}</span>
|
|
||||||
<pre class="prettyprint lang-nix">
|
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
@ -973,7 +962,7 @@ set smartcase
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
<span class="codeblock_name">{coyote-home-manager-programs-vim-vimrc <a href="nixos.html#1:8">8</a>} +=</span>
|
<span class="codeblock_name">{coyote-home-manager-programs-vim <a href="nixos.html#1:8">8</a>} +=</span>
|
||||||
<pre class="prettyprint lang-nix">
|
<pre class="prettyprint lang-nix">
|
||||||
inoremap <C-l> λ
|
inoremap <C-l> λ
|
||||||
</pre>
|
</pre>
|
||||||
|
|
@ -985,7 +974,7 @@ inoremap <C-l> λ
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
<span class="codeblock_name">{coyote-home-manager-programs-vim-vimrc <a href="nixos.html#1:8">8</a>} +=</span>
|
<span class="codeblock_name">{coyote-home-manager-programs-vim <a href="nixos.html#1:8">8</a>} +=</span>
|
||||||
<pre class="prettyprint lang-nix">
|
<pre class="prettyprint lang-nix">
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
@ -1000,9 +989,10 @@ let g:terminal_ansi_colors = ['#282828', '#cc241d', '#98971a', '#d79921', '#4585
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
<span class="codeblock_name">{coyote-home-manager-programs-vim-vimrc <a href="nixos.html#1:8">8</a>} +=</span>
|
<span class="codeblock_name">{coyote-home-manager-programs-vim <a href="nixos.html#1:8">8</a>} +=</span>
|
||||||
<pre class="prettyprint lang-nix">
|
<pre class="prettyprint lang-nix">
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
|
'';
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
22
nixos.lit
22
nixos.lit
|
|
@ -547,7 +547,7 @@ home.packages = with pkgs; [
|
||||||
# Internet
|
# Internet
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
# games
|
# games
|
||||||
osu-lazer-bin
|
osu-lazer-bin pcsx2
|
||||||
# emulation
|
# emulation
|
||||||
# (unstable.bottles.override {removeWarningPopup = true;})
|
# (unstable.bottles.override {removeWarningPopup = true;})
|
||||||
# devel
|
# devel
|
||||||
|
|
@ -637,22 +637,17 @@ vim.plugins = let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
with pkgs.unstable.vimPlugins; [
|
with pkgs.unstable.vimPlugins; [
|
||||||
gruvbox rainbow literate-vim
|
gruvbox rainbow literate-vim undotree
|
||||||
];
|
];
|
||||||
---
|
---
|
||||||
|
|
||||||
`.vimrc` moment...
|
`.vimrc` moment...<br><br>
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim +=
|
|
||||||
vim.extraConfig = ''
|
|
||||||
@{coyote-home-manager-programs-vim-vimrc}
|
|
||||||
'';
|
|
||||||
---
|
|
||||||
|
|
||||||
there's really not much, starting with bog-standard Vimscript for sensible
|
there's really not much, starting with bog-standard Vimscript for sensible
|
||||||
options,
|
options,
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc
|
--- coyote-home-manager-programs-vim +=
|
||||||
|
vim.extraConfig = ''
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
@ -689,13 +684,13 @@ set smartcase
|
||||||
and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
||||||
😎 (i barely can even code in them)
|
😎 (i barely can even code in them)
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc +=
|
--- coyote-home-manager-programs-vim +=
|
||||||
inoremap <C-l> λ
|
inoremap <C-l> λ
|
||||||
---
|
---
|
||||||
|
|
||||||
i love Gruvbox... <sub>(hi Vimjoyer)</sub>
|
i love Gruvbox... <sub>(hi Vimjoyer)</sub>
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc +=
|
--- coyote-home-manager-programs-vim +=
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
@ -704,8 +699,9 @@ let g:terminal_ansi_colors = ['#282828', '#cc241d', '#98971a', '#d79921', '#4585
|
||||||
|
|
||||||
finally, plugin configs! there's only one...
|
finally, plugin configs! there's only one...
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc +=
|
--- coyote-home-manager-programs-vim +=
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
|
'';
|
||||||
---
|
---
|
||||||
|
|
||||||
this part is kinda... bodgy, but, it's the only way i've found to consistently
|
this part is kinda... bodgy, but, it's the only way i've found to consistently
|
||||||
|
|
|
||||||
Reference in a new issue