Compare commits
6 Commits
f5d2da28ef
...
fa94c7d878
Author | SHA1 | Date | |
---|---|---|---|
|
fa94c7d878 | ||
|
9f03735f94 | ||
|
c092b94b98 | ||
|
51ab8c8d80 | ||
|
636cf26d0b | ||
|
414bc16b2a |
4
nvimrc
4
nvimrc
@ -9,6 +9,9 @@ filetype plugin indent on
|
|||||||
|
|
||||||
let mapleader=','
|
let mapleader=','
|
||||||
|
|
||||||
|
" mise setup
|
||||||
|
lua vim.env.PATH = vim.env.HOME .. "/.local/share/mise/shims:" .. vim.env.PATH
|
||||||
|
|
||||||
" netrw
|
" netrw
|
||||||
let g:netrw_banner = 0
|
let g:netrw_banner = 0
|
||||||
let g:netrw_liststyle = 1
|
let g:netrw_liststyle = 1
|
||||||
@ -272,6 +275,7 @@ packadd! rust.vim " https://github.com/rust-lang/rust.vim.git
|
|||||||
packadd! vim-commentary " https://github.com/tpope/vim-commentary.git
|
packadd! vim-commentary " https://github.com/tpope/vim-commentary.git
|
||||||
packadd! vim-rails " https://github.com/tpope/vim-rails.git
|
packadd! vim-rails " https://github.com/tpope/vim-rails.git
|
||||||
packadd! vim-jsx-pretty " https://github.com/MaxMEllon/vim-jsx-pretty.git
|
packadd! vim-jsx-pretty " https://github.com/MaxMEllon/vim-jsx-pretty.git
|
||||||
|
packadd! plenary.nvim " https://github.com/nvim-lua/plenary.nvim.git
|
||||||
|
|
||||||
" Requires both fzf.vim plugin to be manually installed:
|
" Requires both fzf.vim plugin to be manually installed:
|
||||||
" https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim
|
" https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# jira - jump to a Jira ticket in the browser, based on Git branch name convention.
|
# jira - jump to a Jira ticket in the browser, based on Git branch name convention.
|
||||||
|
|
||||||
set -e
|
set -e -o pipefail
|
||||||
|
|
||||||
if [ -z "$JIRADOMAIN" ]; then
|
if [ -z "$JIRADOMAIN" ]; then
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
|
@ -105,6 +105,12 @@ nvim_lsp.rust_analyzer.setup({
|
|||||||
|
|
||||||
nvim_lsp.solargraph.setup({
|
nvim_lsp.solargraph.setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
settings = {
|
||||||
|
solargraph = {
|
||||||
|
autoformat = false,
|
||||||
|
formatting = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Typescript
|
-- Typescript
|
||||||
|
@ -40,10 +40,11 @@ require("nvim-treesitter.configs").setup({
|
|||||||
["ak"] = "@keyed_element.outer",
|
["ak"] = "@keyed_element.outer",
|
||||||
["iv"] = "@keyed_element.inner",
|
["iv"] = "@keyed_element.inner",
|
||||||
["av"] = "@keyed_element.inner",
|
["av"] = "@keyed_element.inner",
|
||||||
|
["at"] = "@composite_literal",
|
||||||
["ia"] = "@parameter.inner",
|
["ia"] = "@parameter.inner",
|
||||||
["aa"] = "@parameter.outer",
|
["aa"] = "@parameter.outer",
|
||||||
["ac"] = "@comment.outer",
|
["ac"] = "@comment.outer",
|
||||||
["at"] = "@statement.outer",
|
["as"] = "@statement.outer",
|
||||||
["ar"] = "@return",
|
["ar"] = "@return",
|
||||||
["af"] = "@function.outer",
|
["af"] = "@function.outer",
|
||||||
["if"] = "@function.inner",
|
["if"] = "@function.inner",
|
||||||
|
@ -7,3 +7,5 @@
|
|||||||
(keyed_element (_) . (_) @keyed_element.inner) @keyed_element.outer
|
(keyed_element (_) . (_) @keyed_element.inner) @keyed_element.outer
|
||||||
(field_declaration type: (_) @keyed_element.inner) @keyed_element.outer
|
(field_declaration type: (_) @keyed_element.inner) @keyed_element.outer
|
||||||
(parameter_declaration type: (_) @keyed_element.inner) @keyed_element.outer
|
(parameter_declaration type: (_) @keyed_element.inner) @keyed_element.outer
|
||||||
|
|
||||||
|
(composite_literal (_)) @composite_literal
|
||||||
|
4
zshenv
4
zshenv
@ -10,10 +10,6 @@ export BROWSER=firefox
|
|||||||
|
|
||||||
# ZSH:
|
# ZSH:
|
||||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
export HISTFILE="$ZDOTDIR/.zsh_history"
|
|
||||||
export HISTSIZE=100000
|
|
||||||
export SAVEHIST=100000
|
|
||||||
export HISTTIMEFORMAT="[%F %T] "
|
|
||||||
|
|
||||||
# UI
|
# UI
|
||||||
# `vivid generate molokai`
|
# `vivid generate molokai`
|
||||||
|
7
zshrc
7
zshrc
@ -1,6 +1,13 @@
|
|||||||
# $HOME/.config/zsh/.zshrc
|
# $HOME/.config/zsh/.zshrc
|
||||||
# Note: Install zsh-completions package
|
# Note: Install zsh-completions package
|
||||||
|
|
||||||
|
# Moved from zshenv because they were being inexplicably overwritten or ignored
|
||||||
|
# on Macos:
|
||||||
|
export HISTFILE="$ZDOTDIR/.zsh_history"
|
||||||
|
export HISTSIZE=100000
|
||||||
|
export SAVEHIST=100000
|
||||||
|
export HISTTIMEFORMAT="[%F %T] "
|
||||||
|
|
||||||
setopt hist_find_no_dups
|
setopt hist_find_no_dups
|
||||||
setopt extended_history
|
setopt extended_history
|
||||||
setopt share_history
|
setopt share_history
|
||||||
|
Loading…
x
Reference in New Issue
Block a user