From a1034c15706427e5432d99fe459b66ab5aab666e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 15 Dec 2016 08:31:19 -0800 Subject: [bash] set editor back to Emacs --- bashrc | 2 +- iterm/com.googlecode.iterm2.plist | 853 -------------------------------------- vimrc | 56 --- 3 files changed, 1 insertion(+), 910 deletions(-) delete mode 100644 iterm/com.googlecode.iterm2.plist delete mode 100644 vimrc diff --git a/bashrc b/bashrc index 6284daa..5ab8b0a 100755 --- a/bashrc +++ b/bashrc @@ -1,4 +1,4 @@ -export EDITOR=vim +export EDITOR="emacsclient -a ''" export HISTFILE= export LANG="en_US.UTF-8" export LC_ALL="$LANG" diff --git a/iterm/com.googlecode.iterm2.plist b/iterm/com.googlecode.iterm2.plist deleted file mode 100644 index 6ba324d..0000000 --- a/iterm/com.googlecode.iterm2.plist +++ /dev/null @@ -1,853 +0,0 @@ - - - - - AppleAntiAliasingThreshold - 1 - AppleScrollAnimationEnabled - 0 - AppleSmoothFixedFontsSizeThreshold - 1 - Default Bookmark Guid - 8982F301-DF5D-477F-BF20-A68AE85ADD14 - DimInactiveSplitPanes - - HideMenuBarInFullscreen - - HideTab - - HideTabNumber - - Hotkey - - HotkeyChar - 32 - HotkeyCode - 49 - HotkeyModifiers - 524288 - LoadPrefsFromCustomFolder - - NSFontPanelSizeList - - 9 - 10 - 11 - 12 - 13 - 14 - 18 - 24 - 36 - 48 - 64 - 72 - 96 - 144 - 288 - 16 - - NSFontPanelSizeSliderParams - 1 0 100 - NSNavLastRootDirectory - ~/src/dotfiles/iterm - NSNavPanelExpandedSizeForOpenMode - {712, 459} - NSQuotedKeystrokeBinding - - NSRepeatCountBinding - - NSScrollAnimationEnabled - - NSScrollViewShouldScrollUnderTitlebar - - NSTableView Columns v2 KeyBingingTable - - YnBsaXN0MDDUAQIDBAUGNjdYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS - AAGGoK4HCA8aGxwdHh8gJjAxMlUkbnVsbNIJCgsOWk5TLm9iamVjdHNWJGNsYXNzogwN - gAKACoAN0xAJChEVGVdOUy5rZXlzoxITFIADgASABaMWFxiABoAHgAiACVpJZGVudGlm - aWVyVVdpZHRoVkhpZGRlblEwI0BowAAAAAAACNIhIiMkWiRjbGFzc25hbWVYJGNsYXNz - ZXNcTlNEaWN0aW9uYXJ5oiMlWE5TT2JqZWN00xAJCicrGaMSExSAA4AEgAWjLC0YgAuA - DIAIgAlRMSNAdCAAAAAAANIhIjM0Xk5TTXV0YWJsZUFycmF5ozM1JVdOU0FycmF5XxAP - TlNLZXllZEFyY2hpdmVy0Tg5VUFycmF5gAEACAARABoAIwAtADIANwBGAEwAUQBcAGMA - ZgBoAGoAbABzAHsAfwCBAIMAhQCJAIsAjQCPAJEAnACiAKkAqwC0ALUAugDFAM4A2wDe - AOcA7gDyAPQA9gD4APwA/gEAAQIBBAEGAQ8BFAEjAScBLwFBAUQBSgAAAAAAAAIBAAAA - AAAAADoAAAAAAAAAAAAAAAAAAAFM - - NSTableView Sort Ordering v2 KeyBingingTable - - YnBsaXN0MDDUAQIDBAUGFBVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS - AAGGoKMHCA1VJG51bGzSCQoLDFpOUy5vYmplY3RzViRjbGFzc6CAAtIODxARWiRjbGFz - c25hbWVYJGNsYXNzZXNeTlNNdXRhYmxlQXJyYXmjEBITV05TQXJyYXlYTlNPYmplY3Rf - EA9OU0tleWVkQXJjaGl2ZXLRFhdVQXJyYXmAAQgRGiMtMjc7QUZRWFlbYGt0g4ePmKqt - swAAAAAAAAEBAAAAAAAAABgAAAAAAAAAAAAAAAAAAAC1 - - NSTableView Supports v2 KeyBingingTable - - NSToolbar Configuration com.apple.NSColorPanel - - TB Is Shown - 1 - - NSWindow Frame NSFontPanel - 1475 359 445 77 0 0 1920 1177 - NSWindow Frame SUStatusFrame - 220 1761 400 129 -300 900 1920 1177 - NSWindow Frame SUUpdateAlert - 350 1488 620 392 -300 900 1920 1177 - NSWindow Frame SharedPreferences - 528 336 918 495 0 0 1440 877 - NSWindow Frame iTerm Window 0 - 0 0 1440 900 0 0 1440 877 - NSWindow Frame iTerm Window 1 - 0 0 1920 1200 0 0 1920 1177 - NSWindow Frame iTerm Window 2 - 4 189 1532 988 0 0 1920 1177 - NSWindow Frame iTerm Window 3 - 143 313 650 452 0 0 1440 877 - NeverWarnAboutMeta - - NeverWarnAboutMeta_selection - 0 - New Bookmarks - - - ASCII Anti Aliased - - Ambiguous Double Width - - Ansi 0 Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0 - - Ansi 1 Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0.8 - - Ansi 10 Color - - Blue Component - 0.2039216 - Green Component - 0.8862745 - Red Component - 0.5411764999999999 - - Ansi 11 Color - - Blue Component - 0.3098039 - Green Component - 0.9137255 - Red Component - 0.9882353 - - Ansi 12 Color - - Blue Component - 0.8117647 - Green Component - 0.6235294 - Red Component - 0.4470588 - - Ansi 13 Color - - Blue Component - 0.6588235 - Green Component - 0.4980392 - Red Component - 0.6784314 - - Ansi 14 Color - - Blue Component - 0.8862745 - Green Component - 0.8862745 - Red Component - 0.2039216 - - Ansi 15 Color - - Blue Component - 0.9254902 - Green Component - 0.9333333 - Red Component - 0.9333333 - - Ansi 2 Color - - Blue Component - 0.02352941 - Green Component - 0.6039215999999999 - Red Component - 0.3058824 - - Ansi 3 Color - - Blue Component - 0 - Green Component - 0.627451 - Red Component - 0.7686275 - - Ansi 4 Color - - Blue Component - 0.6431373 - Green Component - 0.3960784 - Red Component - 0.2039216 - - Ansi 5 Color - - Blue Component - 0.4823529 - Green Component - 0.3137255 - Red Component - 0.4588235 - - Ansi 6 Color - - Blue Component - 0.6039215999999999 - Green Component - 0.5960785 - Red Component - 0.02352941 - - Ansi 7 Color - - Blue Component - 0.8117647 - Green Component - 0.8431373 - Red Component - 0.827451 - - Ansi 8 Color - - Blue Component - 0.3254902 - Green Component - 0.3411765 - Red Component - 0.3333333 - - Ansi 9 Color - - Blue Component - 0.1607843 - Green Component - 0.1607843 - Red Component - 0.9372549 - - BM Growl - - Background Color - - Blue Component - 1 - Green Component - 1 - Red Component - 1 - - Background Image Location - - Badge Color - - Alpha Component - 0.5 - Blue Component - 0.0 - Color Space - Calibrated - Green Component - 0.0 - Red Component - 1 - - Blinking Cursor - - Blur - - Bold Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0 - - Character Encoding - 4 - Close Sessions On End - - Columns - 80 - Command - - Cursor Boost - 0.0 - Cursor Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0 - - Cursor Guide Color - - Alpha Component - 0.25 - Blue Component - 1 - Color Space - Calibrated - Green Component - 0.91000000000000003 - Red Component - 0.65000000000000002 - - Cursor Text Color - - Blue Component - 1 - Green Component - 1 - Red Component - 1 - - Cursor Type - 2 - Custom Command - No - Custom Directory - No - Default Bookmark - No - Description - Default - Disable Window Resizing - - Flashing Bell - - Foreground Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0 - - Guid - 8982F301-DF5D-477F-BF20-A68AE85ADD14 - Horizontal Spacing - 1 - Idle Code - 0 - Jobs to Ignore - - rlogin - ssh - slogin - telnet - - Keyboard Map - - 0x2d-0x40000 - - Action - 11 - Text - 0x1f - - 0x32-0x40000 - - Action - 11 - Text - 0x00 - - 0x33-0x40000 - - Action - 11 - Text - 0x1b - - 0x34-0x40000 - - Action - 11 - Text - 0x1c - - 0x35-0x40000 - - Action - 11 - Text - 0x1d - - 0x36-0x40000 - - Action - 11 - Text - 0x1e - - 0x37-0x40000 - - Action - 11 - Text - 0x1f - - 0x38-0x40000 - - Action - 11 - Text - 0x7f - - 0xf700-0x220000 - - Action - 10 - Text - [1;2A - - 0xf700-0x240000 - - Action - 10 - Text - [1;5A - - 0xf700-0x260000 - - Action - 10 - Text - [1;6A - - 0xf700-0x280000 - - Action - 11 - Text - 0x1b 0x1b 0x5b 0x41 - - 0xf701-0x220000 - - Action - 10 - Text - [1;2B - - 0xf701-0x240000 - - Action - 10 - Text - [1;5B - - 0xf701-0x260000 - - Action - 10 - Text - [1;6B - - 0xf701-0x280000 - - Action - 11 - Text - 0x1b 0x1b 0x5b 0x42 - - 0xf702-0x220000 - - Action - 10 - Text - [1;2D - - 0xf702-0x240000 - - Action - 10 - Text - [1;5D - - 0xf702-0x260000 - - Action - 10 - Text - [1;6D - - 0xf702-0x280000 - - Action - 11 - Text - 0x1b 0x1b 0x5b 0x44 - - 0xf703-0x220000 - - Action - 10 - Text - [1;2C - - 0xf703-0x240000 - - Action - 10 - Text - [1;5C - - 0xf703-0x260000 - - Action - 10 - Text - [1;6C - - 0xf703-0x280000 - - Action - 11 - Text - 0x1b 0x1b 0x5b 0x43 - - 0xf704-0x20000 - - Action - 10 - Text - [1;2P - - 0xf705-0x20000 - - Action - 10 - Text - [1;2Q - - 0xf706-0x20000 - - Action - 10 - Text - [1;2R - - 0xf707-0x20000 - - Action - 10 - Text - [1;2S - - 0xf708-0x20000 - - Action - 10 - Text - [15;2~ - - 0xf709-0x20000 - - Action - 10 - Text - [17;2~ - - 0xf70a-0x20000 - - Action - 10 - Text - [18;2~ - - 0xf70b-0x20000 - - Action - 10 - Text - [19;2~ - - 0xf70c-0x20000 - - Action - 10 - Text - [20;2~ - - 0xf70d-0x20000 - - Action - 10 - Text - [21;2~ - - 0xf70e-0x20000 - - Action - 10 - Text - [23;2~ - - 0xf70f-0x20000 - - Action - 10 - Text - [24;2~ - - 0xf729-0x20000 - - Action - 10 - Text - [1;2H - - 0xf729-0x40000 - - Action - 10 - Text - [1;5H - - 0xf72b-0x20000 - - Action - 10 - Text - [1;2F - - 0xf72b-0x40000 - - Action - 10 - Text - [1;5F - - - Link Color - - Alpha Component - 1 - Blue Component - 0.67800000000000005 - Color Space - Calibrated - Green Component - 0.27000000000000002 - Red Component - 0.023 - - Minimum Contrast - 0.0 - Mouse Reporting - - Name - Default - Non Ascii Font - Monaco 12 - Non-ASCII Anti Aliased - - Normal Font - DejaVuSansMono 13 - Option Key Sends - 2 - Prompt Before Closing 2 - - Right Option Key Sends - 0 - Rows - 25 - Screen - -1 - Scrollback Lines - 1000 - Selected Text Color - - Blue Component - 0 - Green Component - 0 - Red Component - 0 - - Selection Color - - Blue Component - 1 - Green Component - 0.8353 - Red Component - 0.7098 - - Send Code When Idle - - Shortcut - - Silence Bell - - Smart Cursor Color - - Sync Title - - Tags - - Terminal Type - xterm-256color - Thin Strokes - 1 - Transparency - 0.0 - Unlimited Scrollback - - Use Bold Font - - Use Bright Bold - - Use Italic Font - - Use Non-ASCII Font - - Use Tab Color - - Vertical Spacing - 1 - Visual Bell - - Window Type - 1 - Working Directory - /Users/fcuny - - - NoSyncCommandHistoryHasEverBeenUsed - - NoSyncHaveWarnedAboutPasteConfirmationChange - - NoSyncInstallationId - 9E772AA6-8331-4979-8628-19C5D100C626 - NoSyncNeverRemindPrefsChangesLostForFile - - NoSyncNeverRemindPrefsChangesLostForFile_selection - 0 - NoSyncPermissionToShowTip - - NoSyncTimeOfFirstLaunchOfVersionWithTip - 492993473.16369301 - OpenArrangementAtStartup - - OpenNoWindowsAtStartup - - PointerActions - - Button,1,1,, - - Action - kContextMenuPointerAction - - Button,2,1,, - - Action - kPasteFromSelectionPointerAction - - Gesture,ThreeFingerSwipeDown,, - - Action - kPrevWindowPointerAction - - Gesture,ThreeFingerSwipeLeft,, - - Action - kPrevTabPointerAction - - Gesture,ThreeFingerSwipeRight,, - - Action - kNextTabPointerAction - - Gesture,ThreeFingerSwipeUp,, - - Action - kNextWindowPointerAction - - - PrefsCustomFolder - /Users/fcuny/src/dotfiles/iterm - SUAutomaticallyUpdate - - SUEnableAutomaticChecks - - SUFeedAlternateAppNameKey - iTerm - SUFeedURL - https://iterm2.com/appcasts/final.xml?shard=21 - SUHasLaunchedBefore - - SULastCheckTime - 2016-12-10T00:19:28Z - SUSendProfileInfo - - ShowFullScreenTabBar - - ShowPaneTitles - - SplitPaneDimmingAmount - 0.14772636217948718 - TabStyle - 0 - TabViewType - 0 - UseBorder - - UseLionStyleFullscreen - - WindowNumber - - WordCharacters - /-+\~_. - findIgnoreCase_iTerm - - findRegex_iTerm - - iTerm Version - 3.0.12 - kCPKSelectionViewPreferredModeKey - 0 - kCPKSelectionViewShowHSBTextFieldsKey - - - diff --git a/vimrc b/vimrc deleted file mode 100644 index 77907cb..0000000 --- a/vimrc +++ /dev/null @@ -1,56 +0,0 @@ -set nocompatible -setlocal spell spelllang=en_us - -syn off -filetype plugin indent on - -set autoindent -set autowrite -set expandtab " expand tabs by default (overloadable per file type later) -set ignorecase -set incsearch -set list -set listchars=tab:>\ ,trail:~,extends:>,precedes:< -set hls -set nospell -set ruler -set viminfo="" - -set shiftwidth=2 -set smarttab -set tabstop=2 -set softtabstop=4 " when hitting , pretend like a tab is removed, even if spaces -set shiftround " use multiple of shiftwidth when indenting with '<' and '>' - -set wildmenu -set wildmode=longest:full,full - -set nobackup " Don't create annoying backup files -set noswapfile " Don't use swapfile -set nowritebackup - -set noerrorbells " No beeps - -set autoread " Automatically reread changed files without asking me anything -set autowrite " Automatically save before :next, :make etc. -set encoding=utf-8 " Set default encoding to UTF-8 - -set winminheight=0 " minimize split window - -set tags=tags;/ " try to find the tags file in the path - -" makefile -autocmd FileType make setlocal noexpandtab tabstop=4 shiftwidth=4 - -" ruby -autocmd FileType ruby setllocal expandtab stabstop=2 hiftwidth=2 softtabstop=2 - -" golang -autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4 -autocmd BufWritePost *.go :silent !gofmt -w % - -" python indent -autocmd FileType python setlocal tabstop=2 softtabstop=2 shiftwidth=2 textwidth=100 smarttab expandtab autoindent - -set laststatus=2 -set statusline=%<%f\ %h%w%m%r%y%=L:%l/%L\ (%p%%)\ C:%c%V\ B:%o -- cgit 1.4.1