Permalink
Browse files

Made ir-black the default color scheme

Switched away from using gui tabs and made some changes to the default text tab via set_tabline.vim plugin.

Added a new mapping <leader>t<leader> that can open a specific tab number.
  • Loading branch information...
1 parent f43b19e commit 3c8e295105a3be744af0a5fc1e361ce3516971d4 amix committed Jul 2, 2012
View
@@ -47,9 +47,6 @@
[submodule "sources_colors/vim-colors-solarized"]
path = sources_colors/vim-colors-solarized
url = git://github.com/altercation/vim-colors-solarized.git
-[submodule "sources_colors/vim-irblack"]
- path = sources_colors/vim-irblack
- url = git://github.com/wgibbs/vim-irblack.git
[submodule "sources_colors/mayansmoke"]
path = sources_colors/mayansmoke
url = git://github.com/vim-scripts/mayansmoke.git
@@ -595,6 +595,10 @@ hi link CalToday PreProc
hi link MyTagListTagName IncSearch
hi link MyTagListTagScope Constant
+hi TabLineFill guifg=#9098a0 guibg=#111111
+hi TabLine guifg=black guibg=#888888
+hi TabLineSel guifg=white guibg=#202020 gui=bold
+
" COLOR LINKS DEFINE END
" vim:et:nosta:sw=2:ts=8:
@@ -0,0 +1,30 @@
+function! CustomizedTabLine()
+ let s = ''
+ let t = tabpagenr()
+ let i = 1
+ while i <= tabpagenr('$')
+ let buflist = tabpagebuflist(i)
+ let winnr = tabpagewinnr(i)
+ let s .= '%' . i . 'T'
+ let s .= (i == t ? '%1*' : '%2*')
+ let s .= ' '
+ let s .= i . ':'
+ let s .= '%*'
+ let s .= (i == t ? '%#TabLineSel#' : '%#TabLine#')
+ let file = bufname(buflist[winnr - 1])
+ let file = fnamemodify(file, ':p:t')
+ if file == ''
+ let file = '[No Name]'
+ endif
+ let s .= file
+ let s .= ' '
+ let i = i + 1
+ endwhile
+ let s .= '%T%#TabLineFill#%='
+ let s .= (tabpagenr('$') > 1 ? '%999XX' : 'X')
+ return s
+endfunction
+
+" Always show the tablilne
+set stal=2
+set tabline=%!CustomizedTabLine()
File renamed without changes.
@@ -1,13 +1,11 @@
*yankring.txt* For Vim version 7.0.
-Author: David Fishburn September 16, 2011
-Version: 12.0
+Author: David Fishburn August 29, 2009
+Version: 10.0
For instructions on installing this file, type
:help add-local-help |add-local-help| inside Vim.
-Homepage: http://vim.sourceforge.net/script.php?script_id=1234
-
==============================================================================
1. Contents *yankring* *yankring-contents*
@@ -18,7 +16,6 @@ Homepage: http://vim.sourceforge.net/script.php?script_id=1234
3.1 Global Variables...................: |yankring-globals|
3.2 Default Keys.......................: |yankring-mappings|
3.3 Customizing Maps...................: |yankring-custom-maps|
- 3.4 Customizing Menus..................: |yankring-custom-menus|
4. Using the YankRing Window..............: |yankring-window|
5. Commands...............................: |yankring-commands|
5.1 YRToggle..........................: |YRToggle|
@@ -49,7 +46,6 @@ Homepage: http://vim.sourceforge.net/script.php?script_id=1234
6.12 YRSearch..........................: |YRSearch-example|
7. History................................: |yankring-history|
-
==============================================================================
2. Description *yankring-description*
@@ -82,7 +78,6 @@ always welcome.
For details on the changes between versions see |yankring-history|.
-
==============================================================================
3. Configuration *yankring-configure*
@@ -274,33 +269,6 @@ your |.vimrc|.
no way to noticing. To disable this feature you can put the following
in your |vimrc| >
let g:yankring_paste_check_default_buffer = 0
- yankring_default_menu_mode
-< - Menus are useful for a number of reasons:
- See a list of available commands.
- Remember what the shortcut maps are.
- Have a floating menu when using the plugin a lot.
- Quick reference guide.
- There are four settings that will control the placement
- of the menu:
- "0": Turns the menu off.
- "1": Turns the 'Yankring' menu on with no menu shortcut.
- "2": Turns the 'Yankring 'menu on with <alt>-y as the shortcut.
- "3": Turns the 'Plugin -> YankRing' menu on with <alt>-y as
- the shortcut.
- This option defaults to a value of 3 and can be changed
- by adding the following to your vimrc: >
- :let g:yankring_default_menu_mode = 3
- yankring_menu_root
-< - Can be used in conjuction with g:yankring_default_menu_mode = 3 but
- it also allows you to control the fullname and location of the
- YankRing menu. To create the menu: 'MyPlugins -> YankRing' you
- can create the following variable: >
- :let g:yankring_menu_root = 'MyPlugin.&YankRing'
- yankring_menu_priority
-< - Menus are created in a documented order by Vim (|menu-priority|).
- This option allows you to override the setting and shift the
- YankRing menu item to the left between the Edit and Tools menu. >
- :let g:yankring_menu_priority = 30
<
3.2 Default Keys *yankring-mappings*
@@ -498,15 +466,6 @@ You can do anything you need in this function. >
This line remaps Y (which the user presses) to the YRYankCount command. The
YRYankCount tells Vim to execute y$ instead.
-3.4 Customizing Menus *yankring-custom-menus*
-
-There are several global variables which can be created in your vimrc to
-allow you to customize where and what is displayed for the YankRing menu.
-Simply look up the following global variables: >
- yankring_default_menu_mode
- yankring_menu_root
- yankring_menu_priority
-
==============================================================================
4. Using the YankRing Window: *yankring-window*
@@ -567,6 +526,8 @@ in the YankRing window.
g:yankring_window_increment setting.
? Toggles the display of the help.
+
+
==============================================================================
5. Commands: *yankring-commands*
@@ -1170,30 +1131,6 @@ mapping: >
==============================================================================
7. History *yankring-history*
- 12.0: September 16, 2011
- NF: Added support for the clipboard option "unnamedplus" which was
- added after 7.3 (Hong Xu).
- NF: When displaying the YankRing using YRShow, a new command "R"
- has been added to display all of Vim's registers [0-9a-z].
- BF: YRMapsDelete did not remove the normal mode @ map, which
- interfers with recorded macros (Philippe Vaucher ).
-
- 11.0: August 09, 2010
- NF: Documented the global variables to customize the location
- of the YankRing menu.
- NF: The YankRing menu now shows the maps used for the default
- actions to help learn them more easily.
- NF: Added g:yankring_menu_root and g:yankring_menu_priority
- (David Barsam).
- NF: Added a warning indicating a stored value has been truncated
- based on g:yankring_max_element_length and a new option to
- suppress this warning, g:yankring_warn_on_truncate (Hans-G�nter).
- BF: The YRAfterMaps() function (if it exists) was not re-run if
- YRToggle was used to disable and enable the YankRing.
- BF: Multibyte strings may not have been pasted correctly (Dr. Chip).
- BF: When pasting a string of 1111's, and additional -1 could also
- be included in the output.
-
10.0: January 31, 2010
NF: Change the buffer name to [YankRing] to resemble other
non-user buffers.
Oops, something went wrong.

0 comments on commit 3c8e295

Please sign in to comment.