Commit Graph

133 Commits

Author SHA1 Message Date
hedy
ed6c3f830a
Doom: Update instructions to install dvisvgm 2023-09-05 11:57:29 +08:00
hedy
eb879b817c
Doom: Use literate configuration :D 2023-09-05 11:46:32 +08:00
hedy
a4d7456048
Doom: All the updates... 2023-09-05 11:43:59 +08:00
hedy
a58854bae0
Update vanilla emacs conf 2023-09-05 11:43:21 +08:00
hedy
7be98cbbac
Nvim: Add MiniFiles command for calling lua MiniFiles.open() 2023-08-27 19:40:46 +08:00
hedy
7d35a8d45b
Update doom config 2023-08-15 21:08:16 +08:00
hedy
c23760bee4
Use doom emacs for default chemacs profile 2023-07-04 19:20:50 +08:00
hedy
2180073cd5
nvim: Fix Lazy's ft breaking syntax plugins
Must exclude "syntax on" before loading Lazy

See folke/lazy.nvim#775
2023-07-02 09:19:48 +08:00
hedy
4b8dfad834
nvim: Fix Lazy's ft setting breaking ftplugin
The trick is to include 3 lines in init before lazy is loaded.

vim.cmd [[
  filetype plugin on
  filetype indent on
  syntax on
]]

Note that me switching ftdetect and ftplugin content to lua has nothing
to do with this fix. Vim should work well as well.

Made the switch to speed up operations. And fully eliminate Vimscript
from the config. (I love vimscript but unfortunately lua is faster!)
2023-07-02 09:14:42 +08:00
hedy
93fadc0cbd
BREAKING (nvim): Use lua config
- LazyVim
- Replaced many plugins with lua versions
- So much faster!
- Added devicons
- And more!
2023-06-30 22:04:37 +08:00
hedy
c03b639ed5
nvim (LSP): Use ruff and mypy 2023-06-18 18:50:39 +08:00
hedy
89e9d9078a
nvim (mappings): Fix C-` for MacOS 2023-06-18 18:49:59 +08:00
hedy
05e76235a5
Add moonscript 2023-04-24 19:01:26 +08:00
hedy
13636658f8
Add .DS_Store to ignore, rm pbcopy/pbpaste 2023-02-16 19:46:08 +08:00
hedy
d7bc9623cd
nvim: Add nvim lint and reindent lua files of 2 spaces 2023-01-18 21:54:57 +08:00
hedy
ff8738aa29
nvim: Modify indentation settings in ftplugin 2023-01-18 21:53:28 +08:00
hedy
09e6042879
Kitty: Apply tab background to bell/activity symbol 2023-01-18 21:52:54 +08:00
hedy
4039b7bf51
Kitty: Separate font.conf and include local.conf 2023-01-18 11:09:36 +08:00
hedy
0c48215cb8
nvim(cmp): Add more sources and do't use cmp-buffer by default 2023-01-18 11:08:08 +08:00
hedy
965a61b658
nvim: Refactor plugins.vim and lua/complete.lua
- Remove col number from status line - see reasoning in the comment of
  LightlineMoreLineinfo function
- Add comments
- Wrap lines
2023-01-17 17:54:20 +08:00
hedy
6ce13c0f93
nvim: Refactor, use nvim-cmp, better status bar, better LSP configs 2023-01-17 16:46:13 +08:00
hedy
e252486b2b
Add kitty conf and pash install script 2023-01-17 16:45:34 +08:00
hedy
e0ada6e416
nvim: Fix ftplugin/fish 2023-01-14 11:04:37 +08:00
hedy
d867b3b2d9
Aerc: Use new configuration 2023-01-14 09:35:15 +08:00
hedy
7df7ff090a
nvim: Fix markdown syntax conceal for indentLine 2023-01-04 17:46:14 +08:00
hedy
0a54531bf8
nvim(LSP): Add lsp install commands as comments in lsp.lua 2022-12-02 15:39:59 +08:00
hedy
bb18960788
Doom: Set treemacs-variable-pitch-face to nil 2022-10-10 19:27:39 +08:00
hedy
bf0a7fd49a
Nvim: Fix tabs->spaces in plugins.vim
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2022-09-18 08:11:59 +08:00
hedy
846198a2dc
Nvim: Fix issues with nvim-autopairs
windwp/nvim-autopairs#278

Forgot what the locking for nvim-lspconfig was for
Seems like nvim-autopairs also errors without that change?
2022-09-18 08:09:18 +08:00
29d991310e
Fish: Fix prompt for fish v3.4.1
Removed my own copy of prompt_pwd because fish keeps saying "-d: unknown
option". I hadn't changed anything in the function anyway, so it should
just use the built-in one in /usr/share/fish/functions and it should
work as before.
2022-04-03 01:54:43 +00:00
hedy
e3adc49796
Fish: Fix ls function on NetBSD
Apparently `ls ''` shows an error:

ls: no such file or directory

TIL
2022-03-31 18:07:16 +08:00
hedy
6eb5991565
Nvim(ftplugin:fish): Fix comment lol
Imagine coding too much in python/sh and too little in vimL
2022-03-31 18:03:23 +08:00
hedy
412319de57
Nvim(ftplugin:fish): Always use 4 spaces for indentation
Also see previous commit
2022-03-31 17:49:49 +08:00
hedy
a046ab6c16
Fish: Make all tabs become spaces :P
With a tab stop of 4, of course.
2022-03-31 17:47:52 +08:00
hedy
a9f520eacb
Fish: Don't use -GF for ls on NetBSD 2022-03-31 17:44:51 +08:00
hedy
eb83d68b7f
Doom: Update config for upgraded doomemacs
- Added new modules
- Updated setup script to run 'doom upgrade'

That's it

Doom seems to work now

BTW, for pre-existing installs there may be errors running doom because
they changed their default branch; `doom upgrade` would fix it.

Also during `doom upgrade` it will say stuff about origin remote changes
and branches not found for org, org-contrib, and emacs-pytho-pytest.
Simply delete the folders (in ~/.doomemacs/.local/straight/repos/) and
run `doom install` again.

Chemacs also changed default branch btw, just manually go into
~/.emacs.d and rename local and remote branches.
2022-03-13 13:02:13 +08:00
hedy
18c0a4b389
Add pyenv install script and config 2022-02-06 21:32:56 +08:00
Hedy Li
618c85881c
nvim: Add nvim 0.6 support
- It only warned me of vim.lsp.diagnostic renamed to vim.diagnostic so I
  only changed that.
- *Should* still work for nvim 0.5
2022-02-04 18:21:35 +08:00
Hedy Li
170857653a
Fish: Better looking prompt
- Prompt char being '>' instead of '$'
  Yes, just for the sake of having a little `~>` in my homedir :D
- Different color for the base dir in the prompt pwd section
- Right prompt of user@hostname and time

I've had this prompt for like MONTHS and this was sitting in my
uncommitted changes since then, lol.
2022-02-04 17:51:49 +08:00
Hedy Li
c83bb33754
nvim: Add ',' as alternative leader key 2022-02-04 17:14:38 +08:00
Hedy Li
1e7f2b137e
Emacs: move early-init to init and modify init file
Again, making vimL my primary dotfile lang by reducing elisp file lines
and number of files ;P
2021-10-02 20:53:32 +08:00
Hedy Li
0602d4d921
aerc: Use ~/.config/aerc/styles as stylesets dir
I couldn't use ~/local/aerc/stylesets because the outer aerc dir may act
as a symlink (see the setup script).
2021-09-29 18:03:33 +08:00
Hedy Li
9123786773
emacs/doom: Refactor and simplify config files
Part of my effort to make vimL the primary lang for my dotfiles
(currently it's still elisp, ugh)
2021-09-29 15:26:58 +08:00
Hedy Li
c8fa05b31a
nvim: Use { 'for': 'filetype' } for filetype plugins
Even though I know that some of them only loads upon ftplugin so this is
kinda useless.
2021-09-29 06:56:43 +00:00
Hedy Li
218476c70a
nvim: Only plug coc if we have node
The 'node not found' error is annoying even though it only flashes for
<1s
2021-09-29 06:56:41 +00:00
Hedy Li
aa39fcc99e
aerc: Add custom stylesheet
It's the same as default but with just the top bar colored for now
2021-09-29 06:56:37 +00:00
Hedy Li
8f514dd679
Squashing commits to fix history ugh
nvim: Setup script install plug only if isn't installed

Part of my effort to make the scripts able to be run >once

--

README: Installation stuff and modify ToC

--

nvim: Add markdown ToC plugin

--

git: Config file tabs to spaces

--

aerc: Use ~/local/share/aerc and add setup script
2021-09-29 06:53:06 +00:00
Hedy Li
d4c94326c9
nvim: add vimagit and refactor plugin declarations 2021-09-29 06:45:35 +00:00
Hedy Li
7ea972ab73
fish: direnv hook 2021-09-20 11:40:58 +08:00
Hedy Li
f649b7ae3f
nvim: fix conflicts 2021-09-20 11:40:25 +08:00