Changes: git commit author, emacs and lunarvim
This commit is contained in:
parent
c869815fe2
commit
e0fe0b3dac
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||||
;; clients, file templates and snippets.
|
;; clients, file templates and snippets.
|
||||||
(setq user-full-name "Minh Tran"
|
(setq user-full-name "minhtrannhat"
|
||||||
user-mail-address "minhtrannhat2001@gmail.com")
|
user-mail-address "minhtrannhat2001@gmail.com")
|
||||||
|
|
||||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||||
@ -22,6 +22,8 @@
|
|||||||
doom-unicode-font (font-spec :family "JuliaMono")
|
doom-unicode-font (font-spec :family "JuliaMono")
|
||||||
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
|
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
|
||||||
|
|
||||||
|
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
|
||||||
|
|
||||||
(defun synchronize-theme ()
|
(defun synchronize-theme ()
|
||||||
(let* ((light-theme 'doom-nord-light)
|
(let* ((light-theme 'doom-nord-light)
|
||||||
(dark-theme 'doom-nord)
|
(dark-theme 'doom-nord)
|
||||||
@ -148,6 +150,7 @@
|
|||||||
;; Deft - a Major mode for text searching
|
;; Deft - a Major mode for text searching
|
||||||
(setq deft-directory org-roam-directory)
|
(setq deft-directory org-roam-directory)
|
||||||
(setq deft-recursive t)
|
(setq deft-recursive t)
|
||||||
|
(setq deft-default-extension "org")
|
||||||
(setq deft-use-filter-string-for-filename t)
|
(setq deft-use-filter-string-for-filename t)
|
||||||
|
|
||||||
;; Function for inserting node into Org Roam
|
;; Function for inserting node into Org Roam
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
json ; At least it ain't XML
|
json ; At least it ain't XML
|
||||||
(java +lsp +meghanada) ; the poster child for carpal tunnel syndrome
|
(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
(julia +lsp) ; a better, faster MATLAB
|
(julia +lsp) ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
|
@ -1,19 +1,27 @@
|
|||||||
set fish_greeting
|
set fish_greeting
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
|
|
||||||
set fish_bind_mode insert
|
set fish_bind_mode insert
|
||||||
|
|
||||||
alias rm 'rm -i'
|
alias rm 'rm -i'
|
||||||
alias nnn 'nnn -e'
|
alias nnn 'nnn -e'
|
||||||
alias mpv 'mpv --hwdec=vaapi'
|
alias mpv 'mpv --hwdec=vaapi'
|
||||||
alias icat 'kitty +kitten icat'
|
alias icat 'kitty +kitten icat'
|
||||||
set -gx MOZ_WEBRENDER 1
|
alias magit 'emacs -nw --eval "(magit-status)"'
|
||||||
|
|
||||||
export GPG_TTY=(tty)
|
export GPG_TTY=(tty)
|
||||||
|
|
||||||
|
set -gx MOZ_WEBRENDER 1
|
||||||
set -gx XDG_SESSION_TYPE wayland
|
set -gx XDG_SESSION_TYPE wayland
|
||||||
set -gx XDG_CURRENT_DESKTOP sway
|
set -gx XDG_CURRENT_DESKTOP sway
|
||||||
set -gx MOZ_ENABLE_WAYLAND 1
|
set -gx MOZ_ENABLE_WAYLAND 1
|
||||||
|
|
||||||
set -gx EDITOR vim
|
set -gx EDITOR vim
|
||||||
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
||||||
|
|
||||||
set -gx LC_ALL en_US.UTF-8
|
set -gx LC_ALL en_US.UTF-8
|
||||||
|
|
||||||
set -x PATH /usr/libexec /usr/local/bin /home/minhradz/.cargo/bin /home/minhradz/.local/bin $PATH
|
set -x PATH /usr/libexec /usr/local/bin /home/minhradz/.cargo/bin /home/minhradz/.local/bin $PATH
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
eval (direnv hook fish)
|
eval (direnv hook fish)
|
||||||
|
@ -39,26 +39,25 @@ lvim.lang.python.formatters = {
|
|||||||
|
|
||||||
lvim.lang.c.formatters = { { exe = "clang_format" } }
|
lvim.lang.c.formatters = { { exe = "clang_format" } }
|
||||||
lvim.lang.cpp.formatters = lvim.lang.c.formatters
|
lvim.lang.cpp.formatters = lvim.lang.c.formatters
|
||||||
lvim.lang.javascript.formatters = { { exe = "prettier" } }
|
|
||||||
lvim.lang.javascriptreact.formatters = lvim.lang.javascript.formatters
|
|
||||||
lvim.lang.rust.formatters = { { exe = "rustfmt" } }
|
lvim.lang.rust.formatters = { { exe = "rustfmt" } }
|
||||||
|
|
||||||
lvim.lang.json.formatters = { { exe = "prettier" } }
|
lvim.lang.json.formatters = { { exe = "prettier" } }
|
||||||
lvim.lang.typescript.formatters = { { exe = "prettier" } }
|
|
||||||
lvim.lang.typescriptreact.formatters = lvim.lang.typescript.formatters
|
|
||||||
lvim.lang.go.formatters = { { exe = "gofmt" } }
|
lvim.lang.go.formatters = { { exe = "gofmt" } }
|
||||||
|
|
||||||
lvim.lang.javascript.linters = { { exe = "eslint_d" } }
|
lvim.lang.javascript.linters = { { exe = "eslint_d" } }
|
||||||
lvim.lang.javascriptreact.linters = lvim.lang.javascript.linters
|
lvim.lang.javascriptreact.linters = lvim.lang.javascript.linters
|
||||||
lvim.lang.typescript.linters = { { exe = "eslint_d" } }
|
lvim.lang.typescript.linters = { { exe = "eslint_d" } }
|
||||||
lvim.lang.typescriptreact.linters = lvim.lang.typescript.linters
|
lvim.lang.typescriptreact.linters = lvim.lang.typescript.linters
|
||||||
|
lvim.lang.typescript.formatters = { { exe = "prettier" } }
|
||||||
|
lvim.lang.typescriptreact.formatters = lvim.lang.typescript.formatters
|
||||||
|
lvim.lang.javascript.formatters = { { exe = "prettier" } }
|
||||||
|
lvim.lang.javascriptreact.formatters = lvim.lang.javascript.formatters
|
||||||
|
|
||||||
lvim.lang.lua.formatters = { { exe = "stylua" } }
|
lvim.lang.lua.formatters = { { exe = "stylua" } }
|
||||||
|
|
||||||
lvim.lang.python.linters = {
|
lvim.lang.python.linters = { { exe = "flake8", args = {} } }
|
||||||
{
|
|
||||||
exe = "flake8",
|
|
||||||
args = {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Additional Plugins
|
-- Additional Plugins
|
||||||
lvim.plugins = {
|
lvim.plugins = {
|
||||||
@ -71,6 +70,7 @@ lvim.plugins = {
|
|||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
},
|
},
|
||||||
{ "andweeb/presence.nvim" },
|
{ "andweeb/presence.nvim" },
|
||||||
|
{ "tpope/vim-fugitive" },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Autocommands (https://neovim.io/doc/user/autocmd.html)
|
-- Autocommands (https://neovim.io/doc/user/autocmd.html)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user