-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_gvimrc
47 lines (37 loc) · 1.39 KB
/
_gvimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
" GVIM rc
" Copyright (C) 2011, Devin Weaver
" This work is part of my vimrc project at http://github.com/sukima/vimrc
" It is licensed under a Creative Commons Attribution 3.0 Unported License.
" Section: Options {{{1
set mousehide
set guioptions=agmrbtT
" The 'e' option is for nice graphical tabs. Otherwise it uses text tabs.
set guioptions+=e
set nohlsearch
" Section: Syntax Highlighting {{{1
" Fixes coloring bug when gvim opened from a dark term.
set background=dark
syntax enable
silent! colorscheme solarized
" Section: OS Specifics ** Deprecated ** {{{1
" ** Depricated in favor of placing directives in local.vim **
" Prepare Script Options {{{1
" Turn off the buffer menu
let no_buffers_menu=1
" Copy/Cut/Replace All menu items {{{1
menu .401 Edit.-Sep- :
nmenu .402 Edit.Replace\ All\ with\ Clipboard :%delete _\|1put +\|0delete _<CR>
nmenu .403 Edit.Cut\ All :%delete +<CR>
nmenu .404 Edit.Copy\ All :%yank +<CR>
menu 1.150 ToolBar.-Sep- :
nmenu 1.150 ToolBar.BuiltIn16 :%delete _\|1put +\|0delete _<CR>
nmenu 1.160 ToolBar.BuiltIn05 :%delete +<CR>
nmenu 1.165 ToolBar.BuiltIn06 :%yank +<CR>
tmenu ToolBar.BuiltIn16 Replace all with clipboard
tmenu ToolBar.BuiltIn05 Cut all to clipboard
tmenu ToolBar.BuiltIn06 Copy all to clipboard
" }}}1
" So multiple places can have a special config without affecting the core
" gvimrc.
runtime local_gui.vim
" vim600: set foldmethod=marker :