You are not logged in.
I like the vim registers, yank, etc. but I like the DWM window management, so I'm always making new terminals, opening something in vim, then moving them around alot, sending them to different tags, and so on. It's especially hard to copy when I have line numbers on.
Or, how do you do manage your vim windows for programming?
Offline
"+y
"+p
works fine for me...
Offline
Either that doesn't work for me or I'm pressing it wrong.
Offline
What have you got in your .vimrc by way of pasting functions?
Offline
Nothing that I can see. Thanks for the tip; I'll go look that up.
1 set nocompatible
2 set autoindent
3 set smartindent
4 set showmatch
5 set ruler
6 set incsearch
7 set ignorecase
8 set number
9
10 set statusline=%<%F%h%m%r%h%w%y\ %{&ff}\ %{strftime(\"%c\",getftime(expand(\"%:p\")))}%=\ lin:%l\,%L\ col:%c%V\ pos:%o\ ascii:%b\ %P
11 set laststatus=2
12
13 syntax on " Enable syntax highlighting
14 filetype on " Enable filetype detection
15 filetype indent on " Enable filetype-specific indenting
16 filetype plugin on " Enable filetype-specific plugins
17 compiler ruby " Enable compiler support for ruby
18
19 function InsertTabWrapper()
20 let col = col('.') - 1
21 if !col || getline('.')[col- 1] !~ '\k'
22 return "\<tab>"
23 else
24 return "\<c-p>"
25 endif
26 endfunction
27 inoremap <tab> <c-r>=InsertTabWrapper()<cr>
28
29 au BufRead,BufNewFile *.js set ft=javascript.jquery
Offline
You could start by using mine if you like - it is cobbled together from posts here...
Offline
Thanks. Now I have "+y "+p working.
Kind of an awkward combo...
Offline
Indeed. I often find myself, with my fingers poised above the keys, thinking "now, how does this work again..."
There is probably a way to rebind the keys - but it works and, the odd brain freeze aside, it hardly seems worth the candle.
Offline