From 4cc9ec82063e44940c2baee5eadff5d47f192bbe Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 20 Jul 2023 10:12:11 -0700 Subject: [PATCH 1/3] changing committer email to amd@amd.im --- git/.gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/.gitconfig b/git/.gitconfig index 10258ea..59cd894 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,6 +1,6 @@ [user] name = Andrew Davidson - email = andrew@andr3w.net + email = amd@amd.im signingkey = /home/amd/.ssh/id_rsa [color] From 3e1f37b04527a98f4f54c8c4efd8c5b5aeb30614 Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 20 Jul 2023 10:13:27 -0700 Subject: [PATCH 2/3] changing editor back to vim --- bash/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 6376c48..73fac78 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -10,8 +10,8 @@ # Set some defaults. -export EDITOR="emacsclient -t" -export VISUAL="emacsclient -c -a emacs" +export EDITOR="nvim" +export VISUAL="nvim" export ALTERNATE_EDITOR="" export PATH=".:~/bin:~/.local/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd" From e12faa4bf2e044f0722e93848fa706ab4f21840d Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 20 Jul 2023 10:13:41 -0700 Subject: [PATCH 3/3] disabling f1 key in vim --- vim/.vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 712637e..b5c728f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,6 @@ " ==================== Plugins ==================== call plug#begin() - " Git integration Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' @@ -193,6 +192,9 @@ map q: :q " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % +" Disable F1 key +nmap + " Go shortcuts just for .go files autocmd FileType go nmap r (go-run) autocmd FileType go nmap t (go-test)