Browsing to files under cursor


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Browsing to files under cursor
# 1  
Old 06-25-2012
Browsing to files under cursor

hi all,
I am using cntrl w f for this
But now the new file is displayed in half of the screen...and the old file in the other half...
how can ichange this default behaviour ...
say for eg:80% to 1 file and remaining 20 % to the other file....
# 2  
Old 06-25-2012
What tool are you talking about? vimdiff? Might improve chances to get an answer posting this info Smilie
# 3  
Old 06-25-2012
Hi dll_fpga,

Do you mean vim or should we guess it?

One way (in vim) is to set 'winheight' variable to an exact number of lines, like 'set winheight=60'
# 4  
Old 06-25-2012
im using vim editor...nd its not regarding vimdiff.....

Quote:
Originally Posted by zaxxon
What tool are you talking about? vimdiff? Might improve chances to get an answer posting this info Smilie
---------- Post updated at 03:23 PM ---------- Previous update was at 03:20 PM ----------

in this case will the upper window takes major part of the screen(in case of split opening the screen using cntrl w f) and lower part takes the minor part say upper 80% and lower 20%
?
Quote:
Originally Posted by birei
Hi dll_fpga,

Do you mean vim or should we guess it?

One way (in vim) is to set 'winheight' variable to an exact number of lines, like 'set winheight=60'
---------- Post updated at 03:32 PM ---------- Previous update was at 03:23 PM ----------

is there any way of doing same with mouse or a short command?

Quote:
Originally Posted by birei
Hi dll_fpga,

Do you mean vim or should we guess it?

One way (in vim) is to set 'winheight' variable to an exact number of lines, like 'set winheight=60'
# 5  
Old 06-25-2012
First, does that option fit your needs?

Second, in a GUI version of Vim you can move the bar between both windows with your mouse. For a short command, add it to your vimrc file or use a mapping that sets the option and calls to CTRL-W-f.
This User Gave Thanks to birei For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Passing the value of a cursor to another cursor

i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement). how do i do if i want to assign the value of c1 to where condition of cursor c2? declare cursor c1 IS select employee_id from employee cursor c2... (1 Reply)
Discussion started by: vkca
1 Replies

2. Ubuntu

Browsing folders getting SVN information

HI All I am newbie to Linux and Ubuntu. In Windows there is TortoiseSvnClient that makes possible to see ( while browsing a folder) whether a file is under source control with SVN or not ( green, red balloons on top of the file and question marks etc. ). Do you know if there is such product... (2 Replies)
Discussion started by: manustone
2 Replies

3. Solaris

Internet browsing on Solaris 10?

Hello sir, Can any one guide step by step way of configuration for internet browsing on solaris 10 using BSNL broadband connection in brief way about which configuartion file to edit etc. Regards, Amar (1 Reply)
Discussion started by: amarnathbasis8
1 Replies

4. Shell Programming and Scripting

web browsing from shell

hi mates Im new at this forums so hello :D I was wondering if it is possible to enter a web page from the shell and maybe retrieving some info from it tnx in advance (3 Replies)
Discussion started by: smoscar_01
3 Replies

5. Linux

Squid Browsing problem

Configured Squid2.0 on linux9. Browsing is very slow in client side. takes atleast 1min to open the page. can anybody tell me what to do Thaks in Advance (0 Replies)
Discussion started by: teenasuresh
0 Replies

6. Post Here to Contact Site Administrators and Moderators

Thread browsing during search

Hi Mods, Next Thread link available at the bottom, doesn't seem to be working accurately during a search, it goes to nextnewest thread relative to the thread we are viewing. Hope this can be fixed. Regards, Tayyab (4 Replies)
Discussion started by: tayyabq8
4 Replies

7. UNIX for Dummies Questions & Answers

apache directory browsing

How do i prevent clients from browsing directory structures if there is no index.html in a directory? For example, lets say that i dynamically create directories on in my doc root of an apache based web server. I know if i type the url and there is no index or default page in there, then apache... (1 Reply)
Discussion started by: ezekiel61
1 Replies
Login or Register to Ask a Question