Skip to content

Commit

Permalink
Remove lvim
Browse files Browse the repository at this point in the history
Fix minor bugs in zshrc
  • Loading branch information
aminfara committed Nov 27, 2021
1 parent 80a7896 commit fd5fdf7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 166 deletions.
162 changes: 0 additions & 162 deletions lvim/config.lua

This file was deleted.

Empty file removed lvim/ignore
Empty file.
19 changes: 15 additions & 4 deletions zshrc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ SPACESHIP_VI_MODE_INSERT=I
SPACESHIP_VI_MODE_NORMAL=N
SPACESHIP_VI_MODE_COLOR=black
SPACESHIP_TIME_SHOW=true
SPACESHIP_PROMPT_ORDER=(time user dir host git node venv exec_time line_sep battery vi_mode jobs exit_code char)

# HELPERs
################################################################################
Expand Down Expand Up @@ -131,7 +132,7 @@ activate_homebrew() {
################################################################################

install_cli_tools() {
brew_install_or_upgrade git fd ripgrep fzf htop gnupg tmux
brew_install_or_upgrade git fd ripgrep fzf htop jq gnupg tmux
# Install fzf key bindings
$(brew --prefix fzf)/install --key-bindings --completion --no-update-rc --no-bash --no-fish
ln -s $MYZSH_INSTALLED_DIR/tmux.conf $HOME/.tmux.conf
Expand Down Expand Up @@ -179,7 +180,7 @@ activate_antigen() {
source $ANTIGEN_EXEC_DIRECTORY/antigen.zsh
antigen use oh-my-zsh
antigen bundle vi-mode
# antigen bundle key-bindings
antigen bundle key-bindings
if [ $MACHINE_TYPE = "Mac" ]
then
antigen bundle macos
Expand Down Expand Up @@ -289,6 +290,16 @@ uninstall_neovim() {
rm -rf $HOME/.cache/nvim
}

# Mac key repeat for vscode
################################################################################

fix_key_repeat_for_vscode() {
if [ $MACHINE_TYPE = Linux ]
then
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
fi
}

# KEY BINDINGS
################################################################################

Expand Down Expand Up @@ -376,10 +387,10 @@ update_auto_completions() {
setopt nobeep

activate_homebrew
activate_cli_tools
activate_asdf
update_auto_completions # should be before antigen
activate_antigen
activate_cli_tools
activate_asdf
activate_base16_shell

myzsh_keybindings
Expand Down

0 comments on commit fd5fdf7

Please sign in to comment.