Arch WSL fixes
This commit is contained in:
@@ -6,7 +6,7 @@ This uses Packer as the plugin manager.
|
||||
|
||||
# Prerequisites #
|
||||
|
||||
- Tested on Arch. Should probably work on most linux distros.
|
||||
- Tested on Arch and Arch WSL. Should probably work on most linux distros.
|
||||
- `neovim`
|
||||
- `npm`
|
||||
- `python`
|
||||
@@ -16,6 +16,7 @@ This uses Packer as the plugin manager.
|
||||
- `rust`
|
||||
- `ripgrep` - for fuzzy searching
|
||||
- `fzf` - for fuzzy searching
|
||||
- `zk` - for notetaking
|
||||
|
||||
# Installation #
|
||||
|
||||
@@ -23,10 +24,22 @@ This uses Packer as the plugin manager.
|
||||
|
||||
## Manually ##
|
||||
|
||||
Above command will take a backup of your current vim settings in `~/.config/nvim/init.lua` and installs the configs from this project. You can download and place this manually as well.
|
||||
Above command will take a backup of your current vim settings in `~/.config/nvim/init.lua` and installs the configs from this project. Therefore, to install manually, you can
|
||||
|
||||
- Download and place this manually as well in that location
|
||||
- Download it elsewhere and create a symlink to this file
|
||||
|
||||
# Post Install #
|
||||
|
||||
- Open `init.lua` and run `:PackerSync`.
|
||||
|
||||
## Arch on WSL fixes ##
|
||||
|
||||
- On Arch WSL, you would need to retry by pressing `R` on the `:PackerSync` menu few times to install all the plugins, the first time around. Check [this issue](https://github.com/wbthomason/packer.nvim/issues/456)
|
||||
- On Arch WSL, you would need to uncomment the clipboard settings present in the `init.lua` for faster startup times.
|
||||
|
||||
# Updating #
|
||||
|
||||
- Periodically run `git pull`, open `init.lua` and run `:PackerSync`
|
||||
- TODO: AUR integration
|
||||
|
||||
|
||||
@@ -12,6 +12,19 @@ O.shiftwidth=2
|
||||
O.expandtab=true
|
||||
O.preserveindent=true
|
||||
O.termguicolors=true
|
||||
-- If running on WSL + Arch, uncomment this for faster startup
|
||||
-- V.g.clipboard = {
|
||||
-- name = 'win32yank',
|
||||
-- copy = {
|
||||
-- ["+"] = 'win32yank.exe -i --crlf',
|
||||
-- ["*"] = 'win32yank.exe -i --crlf',
|
||||
-- },
|
||||
-- paste = {
|
||||
-- ["+"] = 'win32yank.exe -o --lf',
|
||||
-- ["*"] = 'win32yank.exe -o --lf',
|
||||
-- },
|
||||
-- cache_enabled = 0,
|
||||
--}
|
||||
O.clipboard='unnamedplus'
|
||||
V.cmd("colorscheme habamax")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user