Sponsored Content
Full Discussion: line completion in vim
Top Forums UNIX for Advanced & Expert Users line completion in vim Post 302135103 by cbkihong on Thursday 6th of September 2007 01:40:40 AM
Old 09-06-2007
Not sure what "line completion" means. But for word completion, try C-x C-p. File completion: C-x C-f.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vim as command line editor

Here is my problem, I manage a SunOs 5.8 Server, vi is the default command line editor, I have a line on each users .kshrc profile as follows: export EDITOR=/bin/vi I want to use vim as the command line editor, the below line doesn't work export EDITOR=/bin/vim Thank you (1 Reply)
Discussion started by: tony3101
1 Replies

2. UNIX for Dummies Questions & Answers

remember last visited line in vim

hi, I know we can do this; but dont know how.. I open a file using vim..browse thru it and then say :wq after reaching some line; The next time I open the same file, I want vim to position the cursor on the line where I left last time; anyone? (2 Replies)
Discussion started by: spopuri
2 Replies

3. UNIX for Advanced & Expert Users

how to go previous line in vim

hi, suppose my cursor is on 15 th line in vim i want to go 105 th line and directly come to 15 line from there is any shot key in vim to come directly to previous line ? (2 Replies)
Discussion started by: useless79
2 Replies

4. UNIX for Dummies Questions & Answers

VIM: replace a character in the middle of line

exmaple, i need to replace the number "5" from all lines below with "X"? What is the useful vim command that i can apply for.. ddpadsgg506xghssuyj ddpadsgag546xghssuys ddsadsgaag596xghssuy_te ddsadsgag506xghssuy_pe ddsadsgagc526xghssuys ddsads506ighssuys ddsadsgag506pghssuyk (1 Reply)
Discussion started by: 793589
1 Replies

5. UNIX for Advanced & Expert Users

vim editor -> uncounted new line

Hi, I entered the following text in a new file through vim: "Four score and seven years ago" saved and exit. When I looked at the file size, it was 31B, although is supposed to be 30. I reedited the file (again with vim) to check for errors, but everything seemed fine. When I opened the file... (3 Replies)
Discussion started by: prostiiinet
3 Replies

6. Shell Programming and Scripting

bash completion

hello, I have been trying for a couple days to figure this out to no avail. I am converting some csh code to bash. I have converted everything except the completion code. #bashrc (I set this alias in my bashrc) alias test='source ${PATH}/test.sh' #${PATH}/test.sh (returns some aliases and... (0 Replies)
Discussion started by: platypuus
0 Replies

7. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

8. UNIX for Dummies Questions & Answers

VIM search and replace with line breaks in both the target and replacement text

Hi, Ive spent ages trying to find an explanation for how to do this on the web, but now feel like I'm :wall: I would like to change each occurence (there are many within my script) of the following: to in Vim. I know how to search and replace when it is just single lines... (2 Replies)
Discussion started by: blueade7
2 Replies

9. UNIX for Dummies Questions & Answers

vim copy line and paste at the beginning, middle, and end of another line

How would you do vim copy line and paste at the beginning, middle, and end of another line. I know yy copies the whole line and p pastes the whole line, but on its own separate line. Sometimes I would like to copy a line to the beginning, middle, or end of another line. I would think this would be... (3 Replies)
Discussion started by: cokedude
3 Replies

10. OS X (Apple)

Vim line length...

The vi(m) text editor... Google is not my friend here... I have already found out that it is possible to save a pure text file without the '0x0A' newline character at the very end of the file but I can't find anything on the next question. I have written a raw audio file to quantised pure... (6 Replies)
Discussion started by: wisecracker
6 Replies
IBV_CREATE_CQ(3)					  Libibverbs Programmer's Manual					  IBV_CREATE_CQ(3)

NAME
ibv_create_cq, ibv_destroy_cq - create or destroy a completion queue (CQ) SYNOPSIS
#include <infiniband/verbs.h> struct ibv_cq *ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, struct ibv_comp_channel *channel, int comp_vector); int ibv_destroy_cq(struct ibv_cq *cq); DESCRIPTION
ibv_create_cq() creates a completion queue (CQ) with at least cqe entries for the RDMA device context context. The pointer cq_context will be used to set user context pointer of the CQ structure. The argument channel is optional; if not NULL, the completion channel channel will be used to return completion events. The CQ will use the completion vector comp_vector for signaling completion events; it must be at least zero and less than context->num_comp_vectors. ibv_destroy_cq() destroys the CQ cq. RETURN VALUE
ibv_create_cq() returns a pointer to the CQ, or NULL if the request fails. ibv_destroy_cq() returns 0 on success, or the value of errno on failure (which indicates the failure reason). NOTES
ibv_create_cq() may create a CQ with size greater than or equal to the requested size. Check the cqe attribute in the returned CQ for the actual size. ibv_destroy_cq() fails if any queue pair is still associated with this CQ. SEE ALSO
ibv_resize_cq(3), ibv_req_notify_cq(3), ibv_ack_cq_events(3), ibv_create_qp(3) AUTHORS
Dotan Barak <dotanba@gmail.com> libibverbs 2006-10-31 IBV_CREATE_CQ(3)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy