vimrc fix
wow commit number 69
This commit is contained in:
parent
730d59e64b
commit
0ff916700e
3 changed files with 97 additions and 113 deletions
12
flake.nix
12
flake.nix
|
|
@ -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
|
||||||
|
|
@ -374,7 +373,7 @@
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set history=1000
|
set history=1000
|
||||||
set updatetime=300
|
set updatetime=300
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set ruler
|
set ruler
|
||||||
set showcmd
|
set showcmd
|
||||||
|
|
@ -384,7 +383,7 @@
|
||||||
set wildmode=longest,list,full
|
set wildmode=longest,list,full
|
||||||
set ttyfast
|
set ttyfast
|
||||||
set lazyredraw
|
set lazyredraw
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
set autoindent
|
set autoindent
|
||||||
set smartindent
|
set smartindent
|
||||||
|
|
@ -393,7 +392,7 @@
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set incsearch
|
set incsearch
|
||||||
set ignorecase
|
set ignorecase
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
98
nixos.html
98
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,65 +904,54 @@ 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>
|
set nocompatible
|
||||||
'';
|
set encoding=utf-8
|
||||||
</pre>
|
set backspace=indent,eol,start
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
set mouse=a
|
||||||
|
set history=1000
|
||||||
|
set updatetime=300
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
set ruler
|
||||||
|
set showcmd
|
||||||
|
set showmode
|
||||||
|
set laststatus=1
|
||||||
|
set wildmenu
|
||||||
|
set wildmode=longest,list,full
|
||||||
|
set ttyfast
|
||||||
|
set lazyredraw
|
||||||
|
|
||||||
|
filetype plugin indent on
|
||||||
|
set autoindent
|
||||||
|
set smartindent
|
||||||
|
set expandtab
|
||||||
|
set smarttab
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set softtabstop=4
|
||||||
|
|
||||||
</div>
|
set hlsearch
|
||||||
<p>there's really not much, starting with bog-standard Vimscript for sensible
|
set incsearch
|
||||||
options,
|
set ignorecase
|
||||||
</p>
|
set smartcase
|
||||||
|
|
||||||
<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 encoding=utf-8
|
|
||||||
set backspace=indent,eol,start
|
|
||||||
set clipboard=unnamedplus
|
|
||||||
set mouse=a
|
|
||||||
set history=1000
|
|
||||||
set updatetime=300
|
|
||||||
|
|
||||||
syntax on
|
|
||||||
set ruler
|
|
||||||
set showcmd
|
|
||||||
set showmode
|
|
||||||
set laststatus=1
|
|
||||||
set wildmenu
|
|
||||||
set wildmode=longest,list,full
|
|
||||||
set ttyfast
|
|
||||||
set lazyredraw
|
|
||||||
|
|
||||||
filetype plugin indent on
|
|
||||||
set autoindent
|
|
||||||
set smartindent
|
|
||||||
set expandtab
|
|
||||||
set smarttab
|
|
||||||
set tabstop=4
|
|
||||||
set shiftwidth=4
|
|
||||||
set softtabstop=4
|
|
||||||
|
|
||||||
set hlsearch
|
|
||||||
set incsearch
|
|
||||||
set ignorecase
|
|
||||||
set smartcase
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -973,9 +962,9 @@ 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,12 +974,12 @@ 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
|
||||||
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']
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
90
nixos.lit
90
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,75 +637,71 @@ 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 +=
|
||||||
set nocompatible
|
vim.extraConfig = ''
|
||||||
set encoding=utf-8
|
set nocompatible
|
||||||
set backspace=indent,eol,start
|
set encoding=utf-8
|
||||||
set clipboard=unnamedplus
|
set backspace=indent,eol,start
|
||||||
set mouse=a
|
set clipboard=unnamedplus
|
||||||
set history=1000
|
set mouse=a
|
||||||
set updatetime=300
|
set history=1000
|
||||||
|
set updatetime=300
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set ruler
|
set ruler
|
||||||
set showcmd
|
set showcmd
|
||||||
set showmode
|
set showmode
|
||||||
set laststatus=1
|
set laststatus=1
|
||||||
set wildmenu
|
set wildmenu
|
||||||
set wildmode=longest,list,full
|
set wildmode=longest,list,full
|
||||||
set ttyfast
|
set ttyfast
|
||||||
set lazyredraw
|
set lazyredraw
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
set autoindent
|
set autoindent
|
||||||
set smartindent
|
set smartindent
|
||||||
set expandtab
|
set expandtab
|
||||||
set smarttab
|
set smarttab
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set incsearch
|
set incsearch
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
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
|
||||||
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']
|
||||||
---
|
---
|
||||||
|
|
||||||
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