recent updates
This commit is contained in:
@@ -76,3 +76,25 @@
|
|||||||
;;
|
;;
|
||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
|
||||||
|
(use-package! lispyville
|
||||||
|
:hook ((common-lisp-mode . lispyville-mode)
|
||||||
|
(emacs-lisp-mode . lispyville-mode)
|
||||||
|
(scheme-mode . lispyville-mode)
|
||||||
|
(racket-mode . lispyville-mode)
|
||||||
|
(hy-mode . lispyville-mode)
|
||||||
|
(lfe-mode . lispyville-mode)
|
||||||
|
(clojure-mode . lispyville-mode))
|
||||||
|
:config
|
||||||
|
(lispyville-set-key-theme
|
||||||
|
'(additional
|
||||||
|
additional-insert
|
||||||
|
(additional-movement normal visual motion)
|
||||||
|
(atom-movement normal visual)
|
||||||
|
c-w
|
||||||
|
c-u
|
||||||
|
(commentary normal visual)
|
||||||
|
escape
|
||||||
|
(operators normal)
|
||||||
|
(prettify insert)
|
||||||
|
slurp/barf)))
|
||||||
|
|||||||
34
doom/init.el
34
doom/init.el
@@ -58,10 +58,10 @@
|
|||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
;;(format +onsave) ; automated prettiness
|
;;(format +onsave) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
;;god ; run Emacs commands without modifier keys
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
lispy ; vim for lisp, for people who don't like vim
|
||||||
;;multiple-cursors ; editing in many places at once
|
;;multiple-cursors ; editing in many places at once
|
||||||
;;objed ; text object editing for the innocent
|
;;objed ; text object editing for the innocent
|
||||||
parinfer ; turn lisp into python, sort of
|
;;parinfer ; turn lisp into python, sort of
|
||||||
;;rotate-text ; cycle region at point between text candidates
|
;;rotate-text ; cycle region at point between text candidates
|
||||||
snippets ; my elves. They type so I don't have to
|
snippets ; my elves. They type so I don't have to
|
||||||
;;word-wrap ; soft wrapping with language-aware indent
|
;;word-wrap ; soft wrapping with language-aware indent
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
;;collab ; buffers with friends
|
;;collab ; buffers with friends
|
||||||
debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
;;direnv
|
||||||
;;docker
|
;;docker
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
@@ -96,8 +96,8 @@
|
|||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
(lsp +eglot) ; M-x vscode
|
;;(lsp +eglot) ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
;;magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
;;pdf ; pdf enhancements
|
;;pdf ; pdf enhancements
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
taskrunner ; taskrunner for all your projects
|
taskrunner ; taskrunner for all your projects
|
||||||
;;terraform ; infrastructure as code
|
;;terraform ; infrastructure as code
|
||||||
;;tmux ; an API for interacting with tmux
|
;;tmux ; an API for interacting with tmux
|
||||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
;;tree-sitter ; syntax and parsing, sitting in a tree...
|
||||||
;;upload ; map local to remote projects via ssh/ftp
|
;;upload ; map local to remote projects via ssh/ftp
|
||||||
|
|
||||||
:os
|
:os
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
;;beancount ; mind the GAAP
|
;;beancount ; mind the GAAP
|
||||||
;;(cc +lsp) ; C > C++ == 1
|
;;(cc +lsp) ; C > C++ == 1
|
||||||
;;clojure ; java with a lisp
|
clojure ; java with a lisp
|
||||||
common-lisp ; if you've seen one lisp, you've seen them all
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
@@ -138,34 +138,34 @@
|
|||||||
;;gdscript ; the language you waited for
|
;;gdscript ; the language you waited for
|
||||||
;;(go +lsp) ; the hipster dialect
|
;;(go +lsp) ; the hipster dialect
|
||||||
;;(graphql +lsp) ; Give queries a REST
|
;;(graphql +lsp) ; Give queries a REST
|
||||||
(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;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 +tree-sitter) ; the poster child for carpal tunnel syndrome
|
;;(java +lsp +tree-sitter) ; the poster child for carpal tunnel syndrome
|
||||||
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
;;(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
;;latex ; writing papers in Emacs has never been so fun
|
;;latex ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
;;markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
org ; organize your plain life in plain text
|
;;org ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp +pyright +pyenv) ; beautiful is better than ugly
|
;;(python +lsp +pyright +pyenv) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
rest ; Emacs as a REST client
|
;;rest ; Emacs as a REST client
|
||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAliases = true;
|
enableBashIntegration = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
icons = true;
|
icons = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ pkgs: {
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
historySubstringSearch.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
|
history.share = false;
|
||||||
cdpath = ["~/source"];
|
cdpath = ["~/source"];
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,9 +7,12 @@
|
|||||||
home.homeDirectory = "/Users/jfrikker";
|
home.homeDirectory = "/Users/jfrikker";
|
||||||
|
|
||||||
# home.sessionVariables.BAT_THEME = "catppuccin-frappe";
|
# home.sessionVariables.BAT_THEME = "catppuccin-frappe";
|
||||||
home.sessionVariables.EDITOR = "nvim";
|
|
||||||
# home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
|
# home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
|
||||||
|
|
||||||
|
# home.shellAliases = {
|
||||||
|
# jdtls = "jdt-language-server";
|
||||||
|
# };
|
||||||
|
|
||||||
home.sessionPath=[
|
home.sessionPath=[
|
||||||
"$HOME/.cargo/bin"
|
"$HOME/.cargo/bin"
|
||||||
];
|
];
|
||||||
@@ -53,9 +56,10 @@
|
|||||||
pkgs.awscli
|
pkgs.awscli
|
||||||
pkgs.bashInteractive
|
pkgs.bashInteractive
|
||||||
pkgs.du-dust
|
pkgs.du-dust
|
||||||
# pkgs.emacs29
|
pkgs.emacs29
|
||||||
pkgs.fd
|
pkgs.fd
|
||||||
pkgs.fend
|
pkgs.fend
|
||||||
|
pkgs.gcc
|
||||||
pkgs.gh
|
pkgs.gh
|
||||||
# pkgs.ghc
|
# pkgs.ghc
|
||||||
# pkgs.go
|
# pkgs.go
|
||||||
@@ -70,7 +74,7 @@
|
|||||||
pkgs.kubectl
|
pkgs.kubectl
|
||||||
pkgs.lorri
|
pkgs.lorri
|
||||||
# pkgs.maven
|
# pkgs.maven
|
||||||
pkgs.mysql-client
|
# pkgs.mysql-client
|
||||||
# pkgs.neovide
|
# pkgs.neovide
|
||||||
pkgs.neovim
|
pkgs.neovim
|
||||||
# pkgs.nodejs-16_x
|
# pkgs.nodejs-16_x
|
||||||
@@ -110,7 +114,7 @@
|
|||||||
|
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
programs.bat = import ./home-bat.nix pkgs;
|
programs.bat = import ./home-bat.nix pkgs;
|
||||||
programs.btop.enable = true;
|
# programs.btop.enable = true;
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
programs.eza = import ./home-exa.nix;
|
programs.eza = import ./home-exa.nix;
|
||||||
# programs.fish = import ./home-fish.nix pkgs;
|
# programs.fish = import ./home-fish.nix pkgs;
|
||||||
@@ -118,7 +122,9 @@
|
|||||||
# programs.gh.enable = true;
|
# programs.gh.enable = true;
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.git.delta.enable = true;
|
programs.git.delta.enable = true;
|
||||||
programs.ion.enable = true;
|
programs.helix.enable = true;
|
||||||
|
programs.helix.defaultEditor = true;
|
||||||
|
# programs.ion.enable = true;
|
||||||
# programs.java.enable = true;
|
# programs.java.enable = true;
|
||||||
# programs.java.package = pkgs.jdk17;
|
# programs.java.package = pkgs.jdk17;
|
||||||
programs.jq.enable = true;
|
programs.jq.enable = true;
|
||||||
|
|||||||
@@ -1 +1,46 @@
|
|||||||
[ (import <rust-overlay>) ]
|
[ (import <rust-overlay>)
|
||||||
|
# (
|
||||||
|
# final: prev:
|
||||||
|
# {
|
||||||
|
# helix = prev.rustPlatform.buildRustPackage rec {
|
||||||
|
# pname = "helix";
|
||||||
|
# version = "24.03";
|
||||||
|
#
|
||||||
|
# # This release tarball includes source code for the tree-sitter grammars,
|
||||||
|
# # which is not ordinarily part of the repository.
|
||||||
|
# src = prev.fetchzip {
|
||||||
|
# url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz";
|
||||||
|
# hash = "sha256-1myVGFBwdLguZDPo1jrth/q2i5rn5R2+BVKIkCCUalc=";
|
||||||
|
# stripRoot = false;
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# cargoHash = "sha256-THzPUVcmboVJHu3rJ6rev3GrkNilZRMlitCx7M1+HBE=";
|
||||||
|
#
|
||||||
|
# nativeBuildInputs = [ prev.git prev.installShellFiles prev.makeWrapper ];
|
||||||
|
#
|
||||||
|
# postInstall = ''
|
||||||
|
# # not needed at runtime
|
||||||
|
# rm -r runtime/grammars/sources
|
||||||
|
#
|
||||||
|
# mkdir -p $out/lib
|
||||||
|
# cp -r runtime $out/lib
|
||||||
|
# installShellCompletion contrib/completion/hx.{bash,fish,zsh}
|
||||||
|
# mkdir -p $out/share/{applications,icons/hicolor/256x256/apps}
|
||||||
|
# cp contrib/Helix.desktop $out/share/applications
|
||||||
|
# cp contrib/helix.png $out/share/icons/hicolor/256x256/apps
|
||||||
|
# '';
|
||||||
|
# postFixup = ''
|
||||||
|
# wrapProgram $out/bin/hx --set HELIX_RUNTIME $out/lib/runtime
|
||||||
|
# '';
|
||||||
|
#
|
||||||
|
# meta = with prev.lib; {
|
||||||
|
# description = "A post-modern modal text editor";
|
||||||
|
# homepage = "https://helix-editor.com";
|
||||||
|
# license = licenses.mpl20;
|
||||||
|
# mainProgram = "hx";
|
||||||
|
# maintainers = with prev.maintainers; [ danth yusdacra zowoq ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
# )
|
||||||
|
]
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ require("lazy").setup({
|
|||||||
{ import = "lazyvim.plugins.extras.lang.rust" },
|
{ import = "lazyvim.plugins.extras.lang.rust" },
|
||||||
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||||
{ import = "lazyvim.plugins.extras.dap.core" },
|
{ import = "lazyvim.plugins.extras.dap.core" },
|
||||||
|
{ import = "lazyvim.plugins.extras.linting.eslint" },
|
||||||
-- { import = "lazyvim.plugins.extras.editor.flash" },
|
-- { import = "lazyvim.plugins.extras.editor.flash" },
|
||||||
-- import/override with your plugins
|
-- import/override with your plugins
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
opt.autowriteall = true
|
opt.autowriteall = true
|
||||||
opt.colorcolumn = "100"
|
opt.colorcolumn = "100"
|
||||||
opt.hidden = false
|
-- opt.hidden = false
|
||||||
opt.tabstop = 4
|
opt.tabstop = 4
|
||||||
opt.sidescrolloff = 0
|
opt.sidescrolloff = 0
|
||||||
opt.shiftwidth = 4
|
opt.shiftwidth = 4
|
||||||
|
|||||||
@@ -6,6 +6,20 @@ return {
|
|||||||
-- { "mfussenegger/nvim-jdtls" },
|
-- { "mfussenegger/nvim-jdtls" },
|
||||||
-- },
|
-- },
|
||||||
opts = {
|
opts = {
|
||||||
|
servers = {
|
||||||
|
eslint = {
|
||||||
|
mason = false,
|
||||||
|
},
|
||||||
|
hls = {
|
||||||
|
mason = false,
|
||||||
|
},
|
||||||
|
jdtls = {
|
||||||
|
mason = false,
|
||||||
|
},
|
||||||
|
tsserver = {
|
||||||
|
mason = false,
|
||||||
|
}
|
||||||
|
}
|
||||||
-- autoformat = false,
|
-- autoformat = false,
|
||||||
-- servers = {
|
-- servers = {
|
||||||
-- jdtls = {},
|
-- jdtls = {},
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ return {
|
|||||||
-- "L3MON4D3/LuaSnip",
|
-- "L3MON4D3/LuaSnip",
|
||||||
-- enabled = false,
|
-- enabled = false,
|
||||||
-- },
|
-- },
|
||||||
{
|
-- {
|
||||||
"rafamadriz/friendly-snippets",
|
-- "rafamadriz/friendly-snippets",
|
||||||
enabled = false,
|
-- enabled = false,
|
||||||
},
|
-- },
|
||||||
-- {
|
-- {
|
||||||
-- "ggandor/leap-spooky.nvim",
|
-- "ggandor/leap-spooky.nvim",
|
||||||
-- enabled = true,
|
-- enabled = true,
|
||||||
@@ -90,7 +90,7 @@ return {
|
|||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
opts.sources = cmp.config.sources({
|
opts.sources = cmp.config.sources({
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
-- { name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
})
|
})
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user