mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-04-26 20:35:40 +00:00
Switch to onedark theme
This commit is contained in:
parent
59809f0f77
commit
e9d5bc639d
@ -6,7 +6,7 @@ O = {
|
|||||||
clipboard = unnamedplus,
|
clipboard = unnamedplus,
|
||||||
incsearch = true,
|
incsearch = true,
|
||||||
termguicolors = true,
|
termguicolors = true,
|
||||||
colorscheme = 'darcula-solid',
|
colorscheme = 'onedark',
|
||||||
hidden_files = true,
|
hidden_files = true,
|
||||||
wrap_lines = false,
|
wrap_lines = false,
|
||||||
number = true,
|
number = true,
|
||||||
|
@ -2,6 +2,7 @@ vim.g.mapleader = ' '
|
|||||||
|
|
||||||
-- TODO find better place
|
-- TODO find better place
|
||||||
vim.g.floaterm_open_command = 'vsplit'
|
vim.g.floaterm_open_command = 'vsplit'
|
||||||
|
--vim.g.floaterm_position = 'bottom'
|
||||||
|
|
||||||
-- better window movement
|
-- better window movement
|
||||||
vim.api.nvim_set_keymap('n', '<C-h>', '<C-w>h', {silent = true})
|
vim.api.nvim_set_keymap('n', '<C-h>', '<C-w>h', {silent = true})
|
||||||
|
@ -119,12 +119,11 @@ return require("packer").startup(
|
|||||||
use {'kdheepak/JuliaFormatter.vim'}
|
use {'kdheepak/JuliaFormatter.vim'}
|
||||||
|
|
||||||
-- themes & colorschemes
|
-- themes & colorschemes
|
||||||
use {'challenger-deep-theme/vim', as='challenger-deep' }
|
|
||||||
use {'dracula/vim', as='dracula' }
|
use {'dracula/vim', as='dracula' }
|
||||||
use { "briones-gabriel/darcula-solid.nvim", requires = "rktjmp/lush.nvim" }
|
use { "briones-gabriel/darcula-solid.nvim", requires = "rktjmp/lush.nvim" }
|
||||||
use {'shaunsingh/moonlight.nvim', as='moonlight'}
|
use {'shaunsingh/moonlight.nvim', as='moonlight'}
|
||||||
use {'tanvirtin/monokai.nvim'}
|
|
||||||
use {'arcticicestudio/nord-vim'}
|
use {'arcticicestudio/nord-vim'}
|
||||||
|
use {'joshdick/onedark.vim'}
|
||||||
|
|
||||||
require_plugin('julia-vim')
|
require_plugin('julia-vim')
|
||||||
end
|
end
|
||||||
|
@ -2,15 +2,15 @@ require'lualine'.setup {
|
|||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'nord',
|
theme = 'nord',
|
||||||
component_separators = {'', ''},
|
--component_separators = {'', ''},
|
||||||
section_separators = {'', ''},
|
--section_separators = {'', ''},
|
||||||
disabled_filetypes = {}
|
disabled_filetypes = {}
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = {'mode'},
|
||||||
lualine_b = {'branch'},
|
lualine_b = {'branch'},
|
||||||
lualine_c = {'filename', require'lsp-status'.status},
|
lualine_c = {'filename', require'lsp-status'.status},
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
lualine_x = {'filetype'},
|
||||||
lualine_y = {'progress'},
|
lualine_y = {'progress'},
|
||||||
lualine_z = {'location'}
|
lualine_z = {'location'}
|
||||||
},
|
},
|
||||||
|
107
.tmux.conf
107
.tmux.conf
@ -1,2 +1,107 @@
|
|||||||
set -g mouse on
|
######################################################################
|
||||||
|
# START OF PLUGINS
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
# Plugin manager for tmux
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
|
# Simple tmux options for anyone
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|
||||||
|
#set -g @plugin 'dracula/tmux'
|
||||||
|
set -g @plugin 'odedlaz/tmux-onedark-theme'
|
||||||
|
|
||||||
|
# Persistent tmux envs across system restarts
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
|
||||||
|
# Continuous saving of tmux environment
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
|
||||||
|
#######################################################
|
||||||
|
# TMUX-CONTINUUM
|
||||||
|
#######################################################
|
||||||
|
|
||||||
|
# Enables restoral of saved tmux config
|
||||||
|
set -g @continuum-restore 'on'
|
||||||
|
|
||||||
|
# How often to save a tmux layout
|
||||||
|
set -g @continuum-save-interval '10'
|
||||||
|
|
||||||
|
#######################################################
|
||||||
|
# TMUX-RESURRECT
|
||||||
|
#######################################################
|
||||||
|
|
||||||
|
# Capture contents of each pane
|
||||||
|
set -g @resurrect-capture-pane-contents 'on'
|
||||||
|
|
||||||
|
# Set to resurrect neovim sessions
|
||||||
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
|
|
||||||
|
# Processes to resurrect
|
||||||
|
set -g @resurrect-processes '~julia'
|
||||||
|
|
||||||
|
#######################################################
|
||||||
|
# TMUX-SENSIBLE
|
||||||
|
#######################################################
|
||||||
|
|
||||||
|
# Increase scrollback buffer size
|
||||||
|
set -g history-limit 5000
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# END OF PLUGINS
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# START OF GENERAL CONFIGURATIONS
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
# Turn on interactivity with mouse
|
||||||
|
set -g mouse on
|
||||||
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
|
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
|
||||||
|
|
||||||
|
# Enables italics in tmux
|
||||||
|
#set -g default-terminal "tmux-256color"
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
|
# Terminal type configuration
|
||||||
|
set -ga terminal-overrides ",tmux-256color:Tc"
|
||||||
|
|
||||||
|
# Start window numbering at specific num
|
||||||
|
set -g base-index 1
|
||||||
|
|
||||||
|
# Renumber windows on window close
|
||||||
|
set -g renumber-windows on
|
||||||
|
|
||||||
|
#######################################################
|
||||||
|
# KEY BINDING
|
||||||
|
#######################################################
|
||||||
|
|
||||||
|
# hjkl pane traversal
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# Remap prefix from 'C-b' to 'C-a'
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-a
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
|
# Bind popup display commands
|
||||||
|
# bind t popup -KER "topydo columns"
|
||||||
|
# bind d popup -h80% -w80% -KR "gcalcli --calendar \"JZ Calendar\" calw"
|
||||||
|
# bind s popup -h80% -w80% -KER "spt"
|
||||||
|
# bind C-t popup -KR "$SHELL"
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# END OF GENERAL CONFIGURATIONS
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Initialize tpm plugin manager - DO NOT MOVE
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
8
.zshrc
8
.zshrc
@ -4,7 +4,7 @@ ZSH_THEME="robbyrussell"
|
|||||||
# Plugins
|
# Plugins
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
zsh-autosuggestions
|
# zsh-autosuggestions
|
||||||
)
|
)
|
||||||
|
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
@ -26,9 +26,9 @@ HISTSIZE=10000
|
|||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
|
||||||
# completion
|
# completion
|
||||||
autoload -Uz compinit
|
#autoload -Uz compinit
|
||||||
compinit
|
#compinit
|
||||||
setopt COMPLETE_ALIASES
|
#setopt COMPLETE_ALIASES
|
||||||
|
|
||||||
# goodies
|
# goodies
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user