Compare commits
11 Commits
48233b9474
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ea0598b3fc | |||
| e7a31edf1f | |||
| 790ab3dfdb | |||
| 319c8deec7 | |||
| 3f440e3e21 | |||
| 778111278d | |||
| 6df046dd24 | |||
| 11f3420414 | |||
| 961ac65483 | |||
| 7d30ca2b09 | |||
| d50d4715df |
@ -3,6 +3,7 @@
|
|||||||
(tooltip-mode -1)
|
(tooltip-mode -1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
(tab-bar-mode 1)
|
||||||
(setq ring-bell-function 'ignore)
|
(setq ring-bell-function 'ignore)
|
||||||
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files nil)
|
||||||
@ -17,10 +18,14 @@
|
|||||||
|
|
||||||
(cond
|
(cond
|
||||||
((eq system-type 'darwin)
|
((eq system-type 'darwin)
|
||||||
(set-face-attribute 'default nil :font "Fira Code" :height 165))
|
;; macOS-specific settings
|
||||||
|
(set-face-attribute 'default nil :font "Fira Code" :height 165)
|
||||||
|
(setq ns-alternate-modifier 'alt
|
||||||
|
ns-command-modifier 'meta
|
||||||
|
ns-function-modifier 'hyper
|
||||||
|
ns-right-alternate-modifier nil)) ;; Act as AltGR, for "|"
|
||||||
((eq system-type 'gnu/linux)
|
((eq system-type 'gnu/linux)
|
||||||
|
(set-face-attribute 'default nil :font "JetBrains Mono" :height 130)))
|
||||||
(set-face-attribute 'default nil :font "JetBrains Mono" :height 130)))
|
|
||||||
|
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
|
|
||||||
@ -124,16 +129,23 @@
|
|||||||
"ff" '(counsel-find-file :which-key "find file")
|
"ff" '(counsel-find-file :which-key "find file")
|
||||||
"fg" '(counsel-git :which-key "find file git")
|
"fg" '(counsel-git :which-key "find file git")
|
||||||
"fb" '(counsel-switch-buffer :which-key "find buffers")
|
"fb" '(counsel-switch-buffer :which-key "find buffers")
|
||||||
|
"fd" '(dired :which-key "dired")
|
||||||
"gf" '(counsel-ag :which-key "grep")
|
"gf" '(counsel-ag :which-key "grep")
|
||||||
"gF" '(counsel-git-grep :which-key "git grep")
|
"gF" '(counsel-git-grep :which-key "git grep")
|
||||||
"gg" '(magit-status :whichkey "magit")
|
"gg" '(magit-status :whichkey "magit")
|
||||||
"t" '(:ignore t :which-key "toggles")
|
"o" '(:ignore o :which-key "open")
|
||||||
"tt" '(counsel-load-theme :which-key "choose theme")
|
"ot" '(vterm :which-key "vterm")
|
||||||
|
"t" '(:ignore t :which-key "tabs")
|
||||||
|
"tt" '(tab-new :which-key "new tab")
|
||||||
|
"tf" '(tab-bar-select-by-name :which-key "switch tab using name")
|
||||||
|
"tc" '(tab-close :which-key "close tab")
|
||||||
|
"tr" '(tab-rename :which-key "rename tab")
|
||||||
"p" '(projectile-command-map :which-key "projectile")
|
"p" '(projectile-command-map :which-key "projectile")
|
||||||
"b" '(:ignore b :which-key "buffers")
|
"b" '(:ignore b :which-key "buffers")
|
||||||
"bf" '(counsel-switch-buffer :which-key "find buffers")
|
"bf" '(counsel-switch-buffer :which-key "find buffers")
|
||||||
"bn" '(next-buffer :which-key "next buffer")
|
"bn" '(next-buffer :which-key "next buffer")
|
||||||
"be" '(eval-buffer :which-key "eval buffer")
|
"be" '(eval-buffer :which-key "eval buffer")
|
||||||
|
"bk" '(kill-buffer :which-key "kill buffer")
|
||||||
"bp" '(previous-buffer :which-key "previous buffer")))
|
"bp" '(previous-buffer :which-key "previous buffer")))
|
||||||
|
|
||||||
(general-define-key
|
(general-define-key
|
||||||
@ -180,3 +192,6 @@
|
|||||||
(use-package magit
|
(use-package magit
|
||||||
:custom
|
:custom
|
||||||
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
|
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
|
||||||
|
|
||||||
|
(use-package vterm
|
||||||
|
:ensure t)
|
||||||
|
|||||||
30
ghostty/config
Normal file
30
ghostty/config
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
font-family = "JetBrains Mono"
|
||||||
|
background-opacity = 0.95
|
||||||
|
background-blur = true
|
||||||
|
font-size = 16
|
||||||
|
font-thicken = true
|
||||||
|
font-thicken-strength = 130
|
||||||
|
window-decoration = "none"
|
||||||
|
adjust-cell-height = "5%"
|
||||||
|
maximize = true
|
||||||
|
palette = 0=#51576d
|
||||||
|
palette = 1=#e78284
|
||||||
|
palette = 2=#a6d189
|
||||||
|
palette = 3=#e5c890
|
||||||
|
palette = 4=#8caaee
|
||||||
|
palette = 5=#f4b8e4
|
||||||
|
palette = 6=#81c8be
|
||||||
|
palette = 7=#b5bfe2
|
||||||
|
palette = 8=#626880
|
||||||
|
palette = 9=#e78284
|
||||||
|
palette = 10=#a6d189
|
||||||
|
palette = 11=#e5c890
|
||||||
|
palette = 12=#8caaee
|
||||||
|
palette = 13=#f4b8e4
|
||||||
|
palette = 14=#81c8be
|
||||||
|
palette = 15=#a5adce
|
||||||
|
background = 303446
|
||||||
|
foreground = c6d0f5
|
||||||
|
cursor-color = f2d5cf
|
||||||
|
selection-background = 44495d
|
||||||
|
selection-foreground = c6d0f5
|
||||||
@ -36,6 +36,7 @@ require('lazy').setup({
|
|||||||
-- Detect tabstop and shiftwidth automatically
|
-- Detect tabstop and shiftwidth automatically
|
||||||
'tpope/vim-sleuth',
|
'tpope/vim-sleuth',
|
||||||
|
|
||||||
|
'christoomey/vim-tmux-navigator',
|
||||||
-- NOTE: This is where your plugins related to LSP can be installed.
|
-- NOTE: This is where your plugins related to LSP can be installed.
|
||||||
-- The configuration is done below. Search for lspconfig to find it below.
|
-- The configuration is done below. Search for lspconfig to find it below.
|
||||||
{
|
{
|
||||||
@ -196,6 +197,12 @@ require('lazy').setup({
|
|||||||
{
|
{
|
||||||
'github/copilot.vim',
|
'github/copilot.vim',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'stevearc/oil.nvim',
|
||||||
|
opts = {},
|
||||||
|
-- Optional dependencies
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
},
|
||||||
|
|
||||||
}, {})
|
}, {})
|
||||||
|
|
||||||
@ -285,6 +292,18 @@ require('telescope').setup {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require("oil").setup({
|
||||||
|
default_file_explorer = true,
|
||||||
|
columns = {
|
||||||
|
"icon",
|
||||||
|
"size",
|
||||||
|
"mtime",
|
||||||
|
"permissions"
|
||||||
|
},
|
||||||
|
view_options = {
|
||||||
|
show_hidden = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
-- Enable telescope fzf native, if installed
|
-- Enable telescope fzf native, if installed
|
||||||
pcall(require('telescope').load_extension, 'fzf')
|
pcall(require('telescope').load_extension, 'fzf')
|
||||||
|
|
||||||
@ -444,6 +463,9 @@ local on_attach = function(_, bufnr)
|
|||||||
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
|
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
|
||||||
nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
|
nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
|
||||||
|
|
||||||
|
vim.api.nvim_set_keymap('n', '<Tab>', ':bnext<CR>', { noremap = true, silent = true })
|
||||||
|
vim.api.nvim_set_keymap('n', '<S-Tab>', ':bprev<CR>', { noremap = true, silent = true })
|
||||||
|
|
||||||
-- Lesser used LSP functionality
|
-- Lesser used LSP functionality
|
||||||
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
|
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
|
||||||
nmap('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
|
nmap('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
|
||||||
@ -569,7 +591,13 @@ cmp.setup {
|
|||||||
end, { 'i', 's' }),
|
end, { 'i', 's' }),
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp',
|
||||||
|
option = {
|
||||||
|
markdown_oxide = {
|
||||||
|
keyword_pattern = [[\(\k\| \|\/\|#\)\+]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
|
set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
|
||||||
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||||
|
set -g @plugin 'laktak/extrakto'
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
|
||||||
set -g @catppuccin_flavor 'frappe'
|
set -g @catppuccin_flavor 'frappe'
|
||||||
|
|||||||
11
zsh/sap_api.json
Normal file
11
zsh/sap_api.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
AICORE_SERVICE_KEY='{
|
||||||
|
"clientid": "sb-2e63de36-8cb2-49a4-8d7a-9ad2f20881c7!b186879|xsuaa_std!b77089",
|
||||||
|
"clientsecret": "e1f3f7ac-3c51-4eb4-8c7c-a2bd90fd11f4$Px-wXZ-iPtnIgy1whn3uSVMmLlrJ7AkdinuRzwvH5kg=",
|
||||||
|
"url": "https://h2s395ywrky8mcp0.authentication.sap.hana.ondemand.com",
|
||||||
|
"identityzone": "h2s395ywrky8mcp0",
|
||||||
|
"identityzoneid": "58bfe9c6-806a-4a01-95db-8dcee55aa76f",
|
||||||
|
"appname": "2e63de36-8cb2-49a4-8d7a-9ad2f20881c7!b186879|xsuaa_std!b77089",
|
||||||
|
"serviceurls": {
|
||||||
|
"AI_API_URL": "https://api.ai.internalprod.eu-central-1.aws.ml.hana.ondemand.com"
|
||||||
|
}
|
||||||
|
}'
|
||||||
@ -18,6 +18,8 @@ alias odsb="ods && mvn clean package -DskipTests"
|
|||||||
alias odst="tmux attach -t ods || tmux new -s ods"
|
alias odst="tmux attach -t ods || tmux new -s ods"
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
alias ls="ls -G"
|
alias ls="ls -G"
|
||||||
|
alias sf='nvim $(fzf --preview="bat --color=always {}")'
|
||||||
|
alias sfm='nvim $(fzf -m --preview="bat --color=always {}")'
|
||||||
|
|
||||||
[ -f "/Users/D068796/.ghcup/env" ] && . "/Users/D068796/.ghcup/env" # ghcup-env
|
[ -f "/Users/D068796/.ghcup/env" ] && . "/Users/D068796/.ghcup/env" # ghcup-env
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user